[LOADED_DOCS: NONE]

Raise SignalR client log level to Warning

Changed the minimum log level for Microsoft.Extensions.Logging in the SignalR client configuration from Debug to Warning. This reduces log verbosity by only outputting messages with a severity of Warning or higher.
This commit is contained in:
Loretta 2026-04-19 18:42:16 +02:00
parent d0ab01d08e
commit fe2fef55da
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ namespace AyCode.Services.SignalRs
.ConfigureLogging(logging => .ConfigureLogging(logging =>
{ {
// alap minimális MS log level // alap minimális MS log level
logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Debug); logging.SetMinimumLevel(Microsoft.Extensions.Logging.LogLevel.Warning);
// regisztráljuk az AcLoggerProvider-t úgy, hogy visszaadja a meglévő Logger példányt // regisztráljuk az AcLoggerProvider-t úgy, hogy visszaadja a meglévő Logger példányt
logging.AddAcLogger(_ => Logger); logging.AddAcLogger(_ => Logger);