[grid] Making log flag visible
package org.openqa.selenium.grid.log;
-import static org.openqa.selenium.grid.config.StandardGridRoles.ALL_ROLES;
-import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_CONFIGURE_LOGGING;
-import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_LOG_LEVEL;
-import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_PLAIN_LOGS;
-import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_STRUCTURED_LOGS;
-import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_TRACING_ENABLED;
-import static org.openqa.selenium.grid.log.LoggingOptions.LOGGING_SECTION;
-
import com.google.auto.service.AutoService;
import com.beust.jcommander.Parameter;
import java.util.Set;
+import static org.openqa.selenium.grid.config.StandardGridRoles.ALL_ROLES;
+import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_CONFIGURE_LOGGING;
+import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_LOG_LEVEL;
+import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_PLAIN_LOGS;
+import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_STRUCTURED_LOGS;
+import static org.openqa.selenium.grid.log.LoggingOptions.DEFAULT_TRACING_ENABLED;
+import static org.openqa.selenium.grid.log.LoggingOptions.LOGGING_SECTION;
+
@SuppressWarnings("FieldMayBeFinal")
@AutoService(HasRoles.class)
public class LoggingFlags implements HasRoles {
@ConfigValue(section = LOGGING_SECTION, name = "tracing", example = "true")
private Boolean enableTracing = DEFAULT_TRACING_ENABLED;
- @Parameter(description = "File to write out logs", hidden = true, names = "--log", arity = 1)
+ @Parameter(description = "File to write out logs", names = "--log", arity = 1)
@ConfigValue(section = LOGGING_SECTION, name = "log-file", example = "true")
private String logFile;
