mirror of
https://github.com/Readarr/Readarr
synced 2025-12-19 14:56:04 +01:00
Align logs filename with upstream
This commit is contained in:
parent
28e38b7f17
commit
3db33c988a
3 changed files with 5 additions and 5 deletions
|
|
@ -131,9 +131,9 @@ private static void RegisterConsole()
|
|||
|
||||
private static void RegisterAppFile(IAppFolderInfo appFolderInfo)
|
||||
{
|
||||
RegisterAppFile(appFolderInfo, "appFileInfo", "Readarr.txt", 5, LogLevel.Info);
|
||||
RegisterAppFile(appFolderInfo, "appFileDebug", "Readarr.debug.txt", 50, LogLevel.Off);
|
||||
RegisterAppFile(appFolderInfo, "appFileTrace", "Readarr.trace.txt", 50, LogLevel.Off);
|
||||
RegisterAppFile(appFolderInfo, "appFileInfo", "readarr.txt", 5, LogLevel.Info);
|
||||
RegisterAppFile(appFolderInfo, "appFileDebug", "readarr.debug.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)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ public void should_log_on_error()
|
|||
|
||||
var resultGet = Author.All();
|
||||
|
||||
var logFile = "Readarr.trace.txt";
|
||||
var logFile = "readarr.trace.txt";
|
||||
var logLines = Logs.GetLogFileLines(logFile);
|
||||
|
||||
var result = Author.InvalidPost(new Readarr.Api.V1.Author.AuthorResource());
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ public void Kill()
|
|||
_nzbDroneProcess.Refresh();
|
||||
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);
|
||||
TestContext.Progress.WriteLine("Process has exited prematurely: ExitCode={0} Output:\n{1}", _nzbDroneProcess.ExitCode, output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue