Skip to content

Commit

Permalink
Update logging minimum level to Information
Browse files Browse the repository at this point in the history
  • Loading branch information
FabiChan99 committed Dec 23, 2023
1 parent 6ed85de commit 8f287c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private static void Main(string[] args)
private static async Task MainAsync()
{
var logger = Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Information()
.WriteTo.Console()
.WriteTo.File("logs/log-.txt", rollingInterval: RollingInterval.Day, levelSwitch: new Serilog.Core.LoggingLevelSwitch(Serilog.Events.LogEventLevel.Information))
.CreateLogger();
Expand Down

0 comments on commit 8f287c9

Please sign in to comment.