Skip to content

Commit

Permalink
fix: default minlevel to LogLevel.Info
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Jul 17, 2023
1 parent 095e04e commit 6aec3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion EmbedBot/Services/LoggingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ protected override Task ExecuteAsync(CancellationToken stoppingToken)
var fileLogger = new LogFileTarget("FileLogger", this) { Layout = layout };
var consoleLogger = new ColorfulConsoleTarget("ConsoleLogger") { Layout = layout };

LogLevel minLevel;
LogLevel minLevel = LogLevel.Info;
if (Environment.GetEnvironmentVariable("ENABLE_TRACE_LOGGING") == "1")
{
minLevel = LogLevel.Trace;
Expand Down

0 comments on commit 6aec3b0

Please sign in to comment.