From 6cc2afc92f183f255c119747ed7af63d33659b49 Mon Sep 17 00:00:00 2001 From: "Jamie.Rees" Date: Thu, 5 Oct 2017 12:15:42 +0100 Subject: [PATCH] Added back the log path writing #865 --- src/Ombi/Startup.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs index 72134c286..de43ece94 100644 --- a/src/Ombi/Startup.cs +++ b/src/Ombi/Startup.cs @@ -55,6 +55,8 @@ namespace Ombi { config = new LoggerConfiguration() .MinimumLevel.Debug() + + .WriteTo.RollingFile(Path.Combine(env.ContentRootPath, "Logs", "log-{Date}.txt")) .WriteTo.SQLite("Ombi.db", "Logs", LogEventLevel.Debug) .CreateLogger(); } @@ -62,6 +64,8 @@ namespace Ombi { config = new LoggerConfiguration() .MinimumLevel.Debug() + + .WriteTo.RollingFile(Path.Combine(StoragePath.StoragePath, "Logs", "log-{Date}.txt")) .WriteTo.SQLite(Path.Combine(StoragePath.StoragePath, "Ombi.db"), "Logs", LogEventLevel.Debug) .CreateLogger(); }