diff --git a/src/Ombi/Ombi.csproj b/src/Ombi/Ombi.csproj
index 3dbc377cf..69ee6b233 100644
--- a/src/Ombi/Ombi.csproj
+++ b/src/Ombi/Ombi.csproj
@@ -75,9 +75,10 @@
-
+
+
diff --git a/src/Ombi/Startup.cs b/src/Ombi/Startup.cs
index a37c1d230..9fe01019e 100644
--- a/src/Ombi/Startup.cs
+++ b/src/Ombi/Startup.cs
@@ -49,7 +49,7 @@ namespace Ombi
Configuration = builder.Build();
ILogger config = new LoggerConfiguration()
- .MinimumLevel.Debug()
+ .ReadFrom.Configuration(Configuration)
.WriteTo.RollingFile(Path.Combine(StoragePath.StoragePath.IsNullOrEmpty() ? env.ContentRootPath : StoragePath.StoragePath, "Logs", "log-{Date}.txt"))
.CreateLogger();
diff --git a/src/Ombi/appsettings.Development.json b/src/Ombi/appsettings.Development.json
index 645fb3aaa..0a2a2974c 100644
--- a/src/Ombi/appsettings.Development.json
+++ b/src/Ombi/appsettings.Development.json
@@ -8,5 +8,8 @@
"System.Net.Http.HttpClient.health-checks": "Information",
"HealthChecks": "Information"
}
+ },
+ "Serilog": {
+ "MinimumLevel": "Debug"
}
}
diff --git a/src/Ombi/appsettings.json b/src/Ombi/appsettings.json
index 869428806..b27b627a9 100644
--- a/src/Ombi/appsettings.json
+++ b/src/Ombi/appsettings.json
@@ -10,6 +10,9 @@
"HealthChecks": "Warning"
}
},
+ "Serilog": {
+ "MinimumLevel": "Information"
+ },
"ApplicationSettings": {
"NotificationService": "https://ombinotifications.azurewebsites.net/api/",
"OmbiService": "?"