You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we stream errors from Selenium Manager (#13414), we should be able to set the logging level at whatever Selenium's logging level is set to. So I propose we get rid of --debug and --trace and replace with a generic --log-level that accepts error, warn, info, debug, trace
Usage example
Have this output Debug info:
Logger.getLogger("").setLevel(Level.FINE);
Arrays.stream(logger.getHandlers()).forEach(handler -> {
handler.setLevel(Level.FINE);
});
new DriverFinder(service, options).getDriverPath();
The text was updated successfully, but these errors were encountered:
I would include --log-level <LEVEL> as proposed, but I would also maintain --debug and --trace, since we already have them. For example, I used these options all the time in development. This way, --log-level debug would be the same as --debug, but both options are possible (and with the second, you write less).
Feature and motivation
If we stream errors from Selenium Manager (#13414), we should be able to set the logging level at whatever Selenium's logging level is set to. So I propose we get rid of
--debug
and--trace
and replace with a generic--log-level
that acceptserror
,warn
,info
,debug
,trace
Usage example
Have this output Debug info:
The text was updated successfully, but these errors were encountered: