File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
java/src/org/openqa/selenium Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ protected List<String> createArgs() {
378
378
379
379
// Readable timestamp and append logs only work if a file is specified
380
380
// Can only get readable logs via arguments; otherwise send service output as directed
381
- if (getLogFile () != null && ( readableTimestamp || appendLog ) ) {
381
+ if (getLogFile () != null ) {
382
382
args .add (String .format ("--log-path=%s" , getLogFile ().getAbsolutePath ()));
383
383
if (readableTimestamp != null && readableTimestamp .equals (Boolean .TRUE )) {
384
384
args .add ("--readable-timestamp" );
@@ -392,12 +392,6 @@ protected List<String> createArgs() {
392
392
if (logLevel != null ) {
393
393
args .add (String .format ("--log-level=%s" , logLevel .toString ().toUpperCase ()));
394
394
}
395
- // if (silent != null && silent.equals(Boolean.TRUE)) {
396
- // args.add("--silent");
397
- // }
398
- // if (verbose != null && verbose.equals(Boolean.TRUE)) {
399
- // args.add("--verbose");
400
- // }
401
395
if (allowedListIps != null ) {
402
396
args .add (String .format ("--allowed-ips=%s" , allowedListIps ));
403
397
}
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ protected List<String> createArgs() {
314
314
315
315
// Readable timestamp and append logs only work if a file is specified
316
316
// Can only get readable logs via arguments; otherwise send service output as directed
317
- if (getLogFile () != null && ( readableTimestamp || appendLog ) ) {
317
+ if (getLogFile () != null ) {
318
318
args .add (String .format ("--log-path=%s" , getLogFile ().getAbsolutePath ()));
319
319
if (readableTimestamp != null && readableTimestamp .equals (Boolean .TRUE )) {
320
320
args .add ("--readable-timestamp" );
You can’t perform that action at this time.
0 commit comments