Заглушил Quartz
This commit is contained in:
@@ -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 }
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user