diff --git a/SfeduSchedule/Program.cs b/SfeduSchedule/Program.cs index 93497b3..1b5b339 100644 --- a/SfeduSchedule/Program.cs +++ b/SfeduSchedule/Program.cs @@ -37,6 +37,7 @@ var pluginsPath = Path.Combine(dataDirectory, "Plugins"); builder.Logging.ClearProviders(); builder.Logging.AddConsole(); +builder.Logging.AddFilter("Quartz", LogLevel.Warning); if (!string.IsNullOrEmpty(tgChatId) && !string.IsNullOrEmpty(tgToken)) builder.Logging.AddTelegram(options => { @@ -48,7 +49,8 @@ if (!string.IsNullOrEmpty(tgChatId) && !string.IsNullOrEmpty(tgToken)) { { "Default", LogLevel.Error }, { "SfeduSchedule.Jobs.UpdateJwtJob", LogLevel.Information }, - { "Program", LogLevel.Information } + { "Program", LogLevel.Information }, + { "Quartz", LogLevel.Warning } }; });