@@ -33,30 +33,30 @@ public class LoggingFlags implements HasRoles {
33
33
34
34
@ Parameter (description = "Configure logging" , hidden = true , names = "--configure-logging" , arity = 1 )
35
35
@ ConfigValue (section = "logging" , name = "enable" , example = "true" )
36
- private Boolean configureLogging = true ;
36
+ private Boolean configureLogging ;
37
37
38
- @ Parameter (description = "Use structured logs" , names = "--structured-logs" )
38
+ @ Parameter (description = "Use structured logs" , names = "--structured-logs" , arity = 1 )
39
39
@ ConfigValue (section = "logging" , name = "structured-logs" , example = "false" )
40
- private Boolean structuredLogs = false ;
40
+ private Boolean structuredLogs ;
41
41
42
42
@ Parameter (description = "Use plain log lines" , names = "--plain-logs" , arity = 1 )
43
43
@ ConfigValue (section = "logging" , name = "plain-logs" , example = "true" )
44
- private Boolean plainLogs = true ;
44
+ private Boolean plainLogs ;
45
45
46
46
@ Parameter (description = "Enable trace collection" , hidden = true , names = "--tracing" , arity = 1 )
47
47
@ ConfigValue (section = "logging" , name = "tracing" , example = "true" )
48
- private Boolean enableTracing = true ;
48
+ private Boolean enableTracing ;
49
49
50
50
@ Parameter (description = "File to write out logs" , hidden = true , names = "--log" , arity = 1 )
51
51
@ ConfigValue (section = "logging" , name = "log-file" , example = "true" )
52
52
private String logFile ;
53
53
54
54
@ Parameter (description = "Log encoding" , names = "--log-encoding" , arity = 1 )
55
55
@ ConfigValue (section = "logging" , name = "log-encoding" , example = "UTF-8" )
56
- private String logEncoding = null ;
56
+ private String logEncoding ;
57
57
58
- @ Parameter (description = "Log level. Default logging level is INFO." +
59
- "Log levels are described here https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html " ,
58
+ @ Parameter (description = "Log level. Default logging level is INFO. Log levels are described here " +
59
+ " https://docs.oracle.com/javase/7/docs/api/java/util/logging/Level.html" ,
60
60
names = "--log-level" , arity = 1 )
61
61
@ ConfigValue (section = "logging" , name = "log-level" , example = "INFO" )
62
62
private String logLevel ;
0 commit comments