public class DataflowWorkerLoggingInitializer extends Object
java.util.logging configuration on the Dataflow worker with a
file logger. The file logger uses the DataflowWorkerLoggingHandler format.
A user can override the logging level by customizing the options found within
DataflowWorkerLoggingOptions. A user can override the location by specifying the
Java system property "dataflow.worker.logging.location". The default log level is INFO
and the default location is a file named dataflow.json.log within the systems temporary
directory.| Constructor and Description |
|---|
DataflowWorkerLoggingInitializer() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configure(DataflowWorkerLoggingOptions options)
Reconfigures logging with the passed in options.
|
static void |
initialize()
Sets up the initial logging configuration.
|
public static void initialize()
public static void configure(DataflowWorkerLoggingOptions options)