You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/options/DataflowWorkerLoggingOptions.java
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -66,6 +66,38 @@ enum Level {
66
66
67
67
voidsetDefaultWorkerLogLevel(Levellevel);
68
68
69
+
/**
70
+
* Controls the log level for which messages are uploaded to Cloud Logging. If a message is
71
+
* configured to be sent to both directly to cloud logging and default disk-based logging it will
72
+
* just be sent to disk-based logging. This allows for configuration such as
73
+
* "--defaultWorkerLogLevel=WARN --defaultWorkerDirectLoggerLevel=INFO where INFO logs will be
74
+
* directly sent to cloud logging and WARN logs and higher will be sent to disk-based logging.
75
+
*
76
+
* <p>Note that this is just the default and may be overridden for specific classes with
77
+
* --workerDirectLogLevelOverrides.
78
+
*/
79
+
@Description(
80
+
"Controls the default direct to Cloud Logging level of all logs without a log level override."
81
+
+ "If a message is configured to be sent to both directly to cloud logging and default disk-based logging "
0 commit comments