Skip to content

[🚀 Feature]: Selenium Manager Log Level #13437

@titusfortner

Description

@titusfortner

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 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();

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-rustRust code is mostly Selenium ManagerI-enhancementSomething could be better

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions