[grid] Use logging rather than syserr to log warnings
package org.openqa.selenium.grid;
-import static java.util.Comparator.comparing;
-
import org.openqa.selenium.cli.CliCommand;
import org.openqa.selenium.cli.WrappedPrintWriter;
import java.util.logging.Level;
import java.util.logging.Logger;
+import static java.util.Comparator.comparing;
+
public class Main {
private static final Logger LOG = Logger.getLogger(Main.class.getName());
@@ -65,7 +65,7 @@ public static void main(String[] args) throws Exception {
jars.add(file);
}
} else {
- System.err.println("WARNING: Extension file or directory does not exist: " + file);
+ LOG.warning("WARNING: Extension file or directory does not exist: " + file);
}
}
