File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
dotnet/src/webdriver/Remote Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -169,10 +169,14 @@ public virtual async Task<Response> ExecuteAsync(Command commandToExecute)
169169 throw new ArgumentNullException ( nameof ( commandToExecute ) , "commandToExecute cannot be null" ) ;
170170 }
171171
172- if ( _logger . IsEnabled ( LogEventLevel . Debug ) )
172+ if ( _logger . IsEnabled ( LogEventLevel . Trace ) )
173173 {
174174 _logger . Debug ( $ "Executing command: [{ commandToExecute . SessionId } ]: { commandToExecute . Name } { commandToExecute . ParametersAsJsonString } ") ;
175175 }
176+ else if ( _logger . IsEnabled ( LogEventLevel . Debug ) )
177+ {
178+ _logger . Debug ( $ "Executing command: [{ commandToExecute . SessionId } ]: { commandToExecute . Name } ") ;
179+ }
176180
177181 HttpCommandInfo ? info = this . commandInfoRepository . GetCommandInfo < HttpCommandInfo > ( commandToExecute . Name ) ;
178182 if ( info == null )
You can’t perform that action at this time.
0 commit comments