mirror of https://github.com/lidarr/Lidarr
Align logs filename with upstream
This commit is contained in:
parent
c5bc9d882d
commit
444a801053
|
@ -130,9 +130,9 @@ namespace NzbDrone.Common.Instrumentation
|
|||
|
||||
private static void RegisterAppFile(IAppFolderInfo appFolderInfo)
|
||||
{
|
||||
RegisterAppFile(appFolderInfo, "appFileInfo", "Lidarr.txt", 5, LogLevel.Info);
|
||||
RegisterAppFile(appFolderInfo, "appFileDebug", "Lidarr.debug.txt", 50, LogLevel.Off);
|
||||
RegisterAppFile(appFolderInfo, "appFileTrace", "Lidarr.trace.txt", 50, LogLevel.Off);
|
||||
RegisterAppFile(appFolderInfo, "appFileInfo", "lidarr.txt", 5, LogLevel.Info);
|
||||
RegisterAppFile(appFolderInfo, "appFileDebug", "lidarr.debug.txt", 50, LogLevel.Off);
|
||||
RegisterAppFile(appFolderInfo, "appFileTrace", "lidarr.trace.txt", 50, LogLevel.Off);
|
||||
}
|
||||
|
||||
private static void RegisterAppFile(IAppFolderInfo appFolderInfo, string name, string fileName, int maxArchiveFiles, LogLevel minLogLevel)
|
||||
|
|
|
@ -17,7 +17,7 @@ namespace NzbDrone.Integration.Test
|
|||
|
||||
var resultGet = Artist.All();
|
||||
|
||||
var logFile = "Lidarr.trace.txt";
|
||||
var logFile = "lidarr.trace.txt";
|
||||
var logLines = Logs.GetLogFileLines(logFile);
|
||||
|
||||
var result = Artist.InvalidPost(new Lidarr.Api.V1.Artist.ArtistResource());
|
||||
|
|
|
@ -105,7 +105,7 @@ namespace NzbDrone.Test.Common
|
|||
_nzbDroneProcess.Refresh();
|
||||
if (_nzbDroneProcess.HasExited)
|
||||
{
|
||||
var log = File.ReadAllLines(Path.Combine(AppData, "logs", "Lidarr.trace.txt"));
|
||||
var log = File.ReadAllLines(Path.Combine(AppData, "logs", "lidarr.trace.txt"));
|
||||
var output = log.Join(Environment.NewLine);
|
||||
TestContext.Progress.WriteLine("Process has exited prematurely: ExitCode={0} Output:\n{1}", _nzbDroneProcess.ExitCode, output);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue