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
* Configures the comma-separated list of remote IPv4 addresses which are allowed to connect
     * to the driver server.
     *
     * @param whitelistedIps Comma-separated list of remote IPv4 addresses.
     * @return A self reference.
     */
    public Builder withWhitelistedIps(String whitelistedIps) {
      this.whitelistedIps = whitelistedIps;
      return this;
    }
    @Override
    protected File findDefaultExecutable() {
      return findExecutable(
          "chromedriver", CHROME_DRIVER_EXE_PROPERTY,
          "https:github.com/SeleniumHQ/selenium/wiki/ChromeDriver",
          "http:chromedriver.storage.googleapis.com/index.html");
    }
    @Override
    protected List<String> createArgs() {
      if (getLogFile() == null) {
        String logFilePath = System.getProperty(CHROME_DRIVER_LOG_PROPERTY);
        if (logFilePath != null) {
          withLogFile(new File(logFilePath));
        }
      }
      List<String> args = new ArrayList<>();
      args.add(String.format("--port=%d", getPort()));
      if (getLogFile() != null) {
        args.add(String.format("--log-path=%s", getLogFile().getAbsolutePath()));
      }