ChromeDriver uses the following log levels:

ALL, DEBUG, INFO, WARNING, SEVERE, and OFF

See https://cs.chromium.org/chromium/src/chrome/test/chromedriver/logging.cc

Selenium uses:

"OFF", "SEVERE", "WARNING", "INFO", "CONFIG", "FINE", "FINER", "FINEST", "ALL".

https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities#loggingpreferences-json-object

Please add a mapping between the two list like for Firefox here: https://github.com/SeleniumHQ/selenium/blob/master/java/client/src/org/openqa/selenium/firefox/FirefoxDriverLogLevel.java

Chromium is probably also affected.

The same needs to be done for the Python implementation of Selenium.

Related issue: https://bugs.chromium.org/p/chromedriver/issues/detail?id=457#c10
private final static Logger LOG = Logger.getLogger(TestChromeDriver.class.getName());
  public TestChromeDriver(Capabilities capabilities) {
    super(getService(), chromeWithCustomCapabilities(capabilities));
  }
  private static ChromeDriverService getService() {
    try {
      Path logFile = Files.createTempFile("chromedriver", ".log");
      ChromeDriverService service = new ChromeDriverService.Builder()
          .withVerbose(true)
          .withLogFile(logFile.toFile())
          .build();
      LOG.info("chromedriver will log to " + logFile);
      service.start();
      
      Runtime.getRuntime().addShutdownHook(new Thread(service::stop));