Skip to content

Commit 9abb253

Browse files
committed
[grid] Making log flag visible
1 parent b313712 commit 9abb253

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

java/server/src/org/openqa/selenium/grid/log/LoggingFlags.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,6 @@
1717

1818
package org.openqa.selenium.grid.log;
1919

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-
2820
import com.google.auto.service.AutoService;
2921

3022
import com.beust.jcommander.Parameter;
@@ -35,6 +27,14 @@
3527

3628
import java.util.Set;
3729

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+
3838
@SuppressWarnings("FieldMayBeFinal")
3939
@AutoService(HasRoles.class)
4040
public class LoggingFlags implements HasRoles {
@@ -59,7 +59,7 @@ public class LoggingFlags implements HasRoles {
5959
@ConfigValue(section = LOGGING_SECTION, name = "tracing", example = "true")
6060
private Boolean enableTracing = DEFAULT_TRACING_ENABLED;
6161

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)
6363
@ConfigValue(section = LOGGING_SECTION, name = "log-file", example = "true")
6464
private String logFile;
6565

0 commit comments

Comments
 (0)