mirror of https://github.com/lidarr/Lidarr
Updater log filename changed and restart drone with --nobrowser
This commit is contained in:
parent
20124ab61d
commit
6ee876392c
|
@ -104,7 +104,7 @@ namespace NzbDrone.Common.Instrumentation
|
||||||
var fileTarget = new FileTarget();
|
var fileTarget = new FileTarget();
|
||||||
|
|
||||||
fileTarget.Name = "updateFileLogger";
|
fileTarget.Name = "updateFileLogger";
|
||||||
fileTarget.FileName = Path.Combine(appFolderInfo.GetUpdateLogFolder(), DateTime.Now.ToString("yy.MM.d-HH.mm") + ".txt");
|
fileTarget.FileName = Path.Combine(appFolderInfo.GetUpdateLogFolder(), DateTime.Now.ToString("yyyy.MM.dd-HH.mm") + ".txt");
|
||||||
fileTarget.AutoFlush = true;
|
fileTarget.AutoFlush = true;
|
||||||
fileTarget.KeepFileOpen = false;
|
fileTarget.KeepFileOpen = false;
|
||||||
fileTarget.ConcurrentWrites = false;
|
fileTarget.ConcurrentWrites = false;
|
||||||
|
|
|
@ -73,7 +73,7 @@ namespace NzbDrone.Update.UpdateEngine
|
||||||
_logger.Info("Starting {0}", fileName);
|
_logger.Info("Starting {0}", fileName);
|
||||||
var path = Path.Combine(installationFolder, fileName);
|
var path = Path.Combine(installationFolder, fileName);
|
||||||
|
|
||||||
_processProvider.SpawnNewProcess(path, StartupContext.NO_BROWSER);
|
_processProvider.SpawnNewProcess(path, "--" + StartupContext.NO_BROWSER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue