DataflowWorkerLoggingOptions.WorkerLogLevelOverrides (Google Cloud Dataflow SDK 1.9.1 API)

Google Cloud Dataflow SDK for Java, version 1.9.1

com.google.cloud.dataflow.sdk.options

Class DataflowWorkerLoggingOptions.WorkerLogLevelOverrides

  • All Implemented Interfaces:
    Serializable, Cloneable, Map<String,DataflowWorkerLoggingOptions.Level>
    Enclosing interface:
    DataflowWorkerLoggingOptions


    public static class DataflowWorkerLoggingOptions.WorkerLogLevelOverrides
    extends HashMap<String,DataflowWorkerLoggingOptions.Level>
    Defines a log level override for a specific class, package, or name.

    java.util.logging is used on the Dataflow worker harness and supports a logging hierarchy based off of names that are "." separated. It is a common pattern to have the logger for a given class share the same name as the class itself. Given the classes a.b.c.Foo, a.b.c.Xyz, and a.b.Bar, with loggers named "a.b.c.Foo", "a.b.c.Xyz", and "a.b.Bar" respectively, we can override the log levels:

    • for Foo by specifying the name "a.b.c.Foo" or the Class representing a.b.c.Foo.
    • for Foo, Xyz, and Bar by specifying the name "a.b" or the Package representing a.b.
    • for Foo and Bar by specifying both of their names or classes.
    Note that by specifying multiple overrides, the exact name followed by the closest parent takes precedence.
    See Also:
    Serialized Form


이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.