Set SignalR client log level to Warning

Changed minimum log level from Trace to Warning in SignalR client configuration to reduce log verbosity and record only warnings, errors, and critical logs.
This commit is contained in:
Loretta 2026-02-06 19:00:57 +01:00
parent d2caa2234d
commit 6b7f4bf44f
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,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.Trace); 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);