Заглушил Quartz

This commit is contained in:
2025-10-14 23:18:08 +03:00
parent 496def0166
commit 498a183be5

View File

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