File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed
Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -91,23 +91,10 @@ class SignalRBridge {
9191 ? `${ this . hubUrl } ?token=${ this . authToken } `
9292 : this . hubUrl ;
9393
94- // Determine SignalR log level based on environment
95- // Warning level suppresses verbose packet-level logging
96- const { getLogLevel, LogLevel : AppLogLevel } = require ( "../logger" ) ;
97- let signalRLogLevel ;
98-
99- if ( getLogLevel ( ) <= AppLogLevel . DEBUG ) {
100- // Debug mode: show Info level (connection events without packet details)
101- signalRLogLevel = signalR . LogLevel . Information ;
102- } else {
103- // Development/Production: only warnings and errors
104- signalRLogLevel = signalR . LogLevel . Warning ;
105- }
106-
10794 this . connection = new signalR . HubConnectionBuilder ( )
10895 . withUrl ( connectionUrl )
10996 . withAutomaticReconnect ( )
110- . configureLogging ( new SafeLogger ( signalRLogLevel ) )
97+ . configureLogging ( new SafeLogger ( signalR . LogLevel . Information ) )
11198 . build ( ) ;
11299
113100 // Handle reconnection
You can’t perform that action at this time.
0 commit comments