mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-20 13:23:20 -07:00
Added back the log path writing #865
This commit is contained in:
parent
9bcced3cac
commit
6cc2afc92f
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue