|
|
@ -55,6 +55,8 @@ namespace Ombi
|
|
|
|
{
|
|
|
|
{
|
|
|
|
config = new LoggerConfiguration()
|
|
|
|
config = new LoggerConfiguration()
|
|
|
|
.MinimumLevel.Debug()
|
|
|
|
.MinimumLevel.Debug()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.WriteTo.RollingFile(Path.Combine(env.ContentRootPath, "Logs", "log-{Date}.txt"))
|
|
|
|
.WriteTo.SQLite("Ombi.db", "Logs", LogEventLevel.Debug)
|
|
|
|
.WriteTo.SQLite("Ombi.db", "Logs", LogEventLevel.Debug)
|
|
|
|
.CreateLogger();
|
|
|
|
.CreateLogger();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -62,6 +64,8 @@ namespace Ombi
|
|
|
|
{
|
|
|
|
{
|
|
|
|
config = new LoggerConfiguration()
|
|
|
|
config = new LoggerConfiguration()
|
|
|
|
.MinimumLevel.Debug()
|
|
|
|
.MinimumLevel.Debug()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.WriteTo.RollingFile(Path.Combine(StoragePath.StoragePath, "Logs", "log-{Date}.txt"))
|
|
|
|
.WriteTo.SQLite(Path.Combine(StoragePath.StoragePath, "Ombi.db"), "Logs", LogEventLevel.Debug)
|
|
|
|
.WriteTo.SQLite(Path.Combine(StoragePath.StoragePath, "Ombi.db"), "Logs", LogEventLevel.Debug)
|
|
|
|
.CreateLogger();
|
|
|
|
.CreateLogger();
|
|
|
|
}
|
|
|
|
}
|
|
|
|