File tree Expand file tree Collapse file tree
java/src/org/openqa/selenium/remote/service Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646import java .util .concurrent .TimeUnit ;
4747import java .util .concurrent .TimeoutException ;
4848import java .util .concurrent .locks .ReentrantLock ;
49+ import java .util .logging .Logger ;
4950
5051import static java .util .Collections .emptyMap ;
5152import static java .util .concurrent .TimeUnit .SECONDS ;
@@ -63,6 +64,7 @@ public class DriverService implements Closeable {
6364
6465 private static final String NAME = "Driver Service Executor" ;
6566 protected static final Duration DEFAULT_TIMEOUT = Duration .ofSeconds (20 );
67+ private static final Logger LOG = Logger .getLogger (DriverService .class .getName ());
6668
6769 private final ExecutorService executorService = Executors .newFixedThreadPool (2 , r -> {
6870 Thread thread = new Thread (r );
@@ -200,6 +202,7 @@ public void start() throws IOException {
200202 }
201203 this .executable = DriverFinder .getPath (this , getDefaultDriverOptions ());
202204 }
205+ LOG .fine (String .format ("Starting driver at %s with %s" , this .executable , this .args ));
203206 process = new CommandLine (this .executable , args .toArray (new String []{}));
204207 process .setEnvironmentVariables (environment );
205208 process .copyOutputTo (getOutputStream ());
You can’t perform that action at this time.
0 commit comments