17
17
18
18
package org .openqa .selenium .grid .log ;
19
19
20
- import static org .openqa .selenium .grid .config .StandardGridRoles .ALL_ROLES ;
21
- import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_CONFIGURE_LOGGING ;
22
- import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_LOG_LEVEL ;
23
- import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_PLAIN_LOGS ;
24
- import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_STRUCTURED_LOGS ;
25
- import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_TRACING_ENABLED ;
26
- import static org .openqa .selenium .grid .log .LoggingOptions .LOGGING_SECTION ;
27
-
28
20
import com .google .auto .service .AutoService ;
29
21
30
22
import com .beust .jcommander .Parameter ;
35
27
36
28
import java .util .Set ;
37
29
30
+ import static org .openqa .selenium .grid .config .StandardGridRoles .ALL_ROLES ;
31
+ import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_CONFIGURE_LOGGING ;
32
+ import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_LOG_LEVEL ;
33
+ import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_PLAIN_LOGS ;
34
+ import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_STRUCTURED_LOGS ;
35
+ import static org .openqa .selenium .grid .log .LoggingOptions .DEFAULT_TRACING_ENABLED ;
36
+ import static org .openqa .selenium .grid .log .LoggingOptions .LOGGING_SECTION ;
37
+
38
38
@ SuppressWarnings ("FieldMayBeFinal" )
39
39
@ AutoService (HasRoles .class )
40
40
public class LoggingFlags implements HasRoles {
@@ -59,7 +59,7 @@ public class LoggingFlags implements HasRoles {
59
59
@ ConfigValue (section = LOGGING_SECTION , name = "tracing" , example = "true" )
60
60
private Boolean enableTracing = DEFAULT_TRACING_ENABLED ;
61
61
62
- @ Parameter (description = "File to write out logs" , hidden = true , names = "--log" , arity = 1 )
62
+ @ Parameter (description = "File to write out logs" , names = "--log" , arity = 1 )
63
63
@ ConfigValue (section = LOGGING_SECTION , name = "log-file" , example = "true" )
64
64
private String logFile ;
65
65
0 commit comments