Skip to content

Commit 15459e7

Browse files
committed
Do not log command parameters in HttpCommandExecutor at all
1 parent d0b9d47 commit 15459e7

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

dotnet/src/webdriver/Remote/HttpCommandExecutor.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,6 @@ public virtual async Task<Response> ExecuteAsync(Command commandToExecute)
170170
}
171171

172172
if (_logger.IsEnabled(LogEventLevel.Trace))
173-
{
174-
_logger.Debug($"Executing command: [{commandToExecute.SessionId}]: {commandToExecute.Name} {commandToExecute.ParametersAsJsonString}");
175-
}
176-
else if (_logger.IsEnabled(LogEventLevel.Debug))
177173
{
178174
_logger.Debug($"Executing command: [{commandToExecute.SessionId}]: {commandToExecute.Name}");
179175
}

0 commit comments

Comments
 (0)