mirror of
https://github.com/fergalmoran/Readarr.git
synced 2025-12-25 10:59:36 +00:00
Align logs filename with upstream
This commit is contained in:
@@ -131,9 +131,9 @@ namespace NzbDrone.Common.Instrumentation
|
|||||||
|
|
||||||
private static void RegisterAppFile(IAppFolderInfo appFolderInfo)
|
private static void RegisterAppFile(IAppFolderInfo appFolderInfo)
|
||||||
{
|
{
|
||||||
RegisterAppFile(appFolderInfo, "appFileInfo", "Readarr.txt", 5, LogLevel.Info);
|
RegisterAppFile(appFolderInfo, "appFileInfo", "readarr.txt", 5, LogLevel.Info);
|
||||||
RegisterAppFile(appFolderInfo, "appFileDebug", "Readarr.debug.txt", 50, LogLevel.Off);
|
RegisterAppFile(appFolderInfo, "appFileDebug", "readarr.debug.txt", 50, LogLevel.Off);
|
||||||
RegisterAppFile(appFolderInfo, "appFileTrace", "Readarr.trace.txt", 50, LogLevel.Off);
|
RegisterAppFile(appFolderInfo, "appFileTrace", "readarr.trace.txt", 50, LogLevel.Off);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void RegisterAppFile(IAppFolderInfo appFolderInfo, string name, string fileName, int maxArchiveFiles, LogLevel minLogLevel)
|
private static void RegisterAppFile(IAppFolderInfo appFolderInfo, string name, string fileName, int maxArchiveFiles, LogLevel minLogLevel)
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace NzbDrone.Integration.Test
|
|||||||
|
|
||||||
var resultGet = Author.All();
|
var resultGet = Author.All();
|
||||||
|
|
||||||
var logFile = "Readarr.trace.txt";
|
var logFile = "readarr.trace.txt";
|
||||||
var logLines = Logs.GetLogFileLines(logFile);
|
var logLines = Logs.GetLogFileLines(logFile);
|
||||||
|
|
||||||
var result = Author.InvalidPost(new Readarr.Api.V1.Author.AuthorResource());
|
var result = Author.InvalidPost(new Readarr.Api.V1.Author.AuthorResource());
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ namespace NzbDrone.Test.Common
|
|||||||
_nzbDroneProcess.Refresh();
|
_nzbDroneProcess.Refresh();
|
||||||
if (_nzbDroneProcess.HasExited)
|
if (_nzbDroneProcess.HasExited)
|
||||||
{
|
{
|
||||||
var log = File.ReadAllLines(Path.Combine(AppData, "logs", "Readarr.trace.txt"));
|
var log = File.ReadAllLines(Path.Combine(AppData, "logs", "readarr.trace.txt"));
|
||||||
var output = log.Join(Environment.NewLine);
|
var output = log.Join(Environment.NewLine);
|
||||||
TestContext.Progress.WriteLine("Process has exited prematurely: ExitCode={0} Output:\n{1}", _nzbDroneProcess.ExitCode, output);
|
TestContext.Progress.WriteLine("Process has exited prematurely: ExitCode={0} Output:\n{1}", _nzbDroneProcess.ExitCode, output);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user