SdkHarnessOptions
to ensure forward compatibility.@Deprecated public interface DataflowWorkerLoggingOptions extends PipelineOptions
Modifier and Type | Interface and Description |
---|---|
static class |
DataflowWorkerLoggingOptions.Level
Deprecated.
The set of log levels that can be used on the Dataflow worker.
|
static class |
DataflowWorkerLoggingOptions.WorkerLogLevelOverrides
Deprecated.
Defines a log level override for a specific class, package, or name.
|
PipelineOptions.AtomicLongFactory, PipelineOptions.CheckEnabled, PipelineOptions.DirectRunner, PipelineOptions.JobNameFactory, PipelineOptions.NoOpMetricsSink, PipelineOptions.UserAgentFactory
as, getJobName, getMetricsHttpSinkUrl, getMetricsPushPeriod, getMetricsSink, getOptionsId, getRunner, getStableUniqueNames, getTempLocation, getUserAgent, outputRuntimeOptions, setJobName, setMetricsHttpSinkUrl, setMetricsPushPeriod, setMetricsSink, setOptionsId, setRunner, setStableUniqueNames, setTempLocation, setUserAgent
populateDisplayData
@Default.Enum(value="INFO") DataflowWorkerLoggingOptions.Level getDefaultWorkerLogLevel()
void setDefaultWorkerLogLevel(DataflowWorkerLoggingOptions.Level level)
@Default.Enum(value="INFO") DataflowWorkerLoggingOptions.Level getWorkerSystemOutMessageLevel()
System.out
.
Note that the message may be filtered depending on the defaultWorkerLogLevel
or if a System.out
override is specified via workerLogLevelOverrides
.
void setWorkerSystemOutMessageLevel(DataflowWorkerLoggingOptions.Level level)
@Default.Enum(value="ERROR") DataflowWorkerLoggingOptions.Level getWorkerSystemErrMessageLevel()
System.err
.
Note that the message may be filtered depending on the defaultWorkerLogLevel
or if a System.err
override is specified via workerLogLevelOverrides
.
void setWorkerSystemErrMessageLevel(DataflowWorkerLoggingOptions.Level level)
DataflowWorkerLoggingOptions.WorkerLogLevelOverrides getWorkerLogLevelOverrides()
Later options with equivalent names override earlier options.
See DataflowWorkerLoggingOptions.WorkerLogLevelOverrides
for more information on how to configure logging on a
per Class
, Package
, or name basis. If used from the command line, the expected
format is {"Name":"Level",...}, further details on DataflowWorkerLoggingOptions.WorkerLogLevelOverrides.from(java.util.Map<java.lang.String, java.lang.String>)
.
void setWorkerLogLevelOverrides(DataflowWorkerLoggingOptions.WorkerLogLevelOverrides value)