Class LoggingConfig (5.8.0rc0)

LoggingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The runtime logging config of the job.

Attribute

NameDescription
driver_log_levels MutableMapping[str, google.cloud.dataproc_v1.types.LoggingConfig.Level]
The per-package log levels for the driver. This may include "root" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG'

Classes

DriverLogLevelsEntry

DriverLogLevelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Level

Level(value)

The Log4j level for job execution. When running an Apache Hive <https://hive.apache.org/>__ job, Cloud Dataproc configures the Hive client to an equivalent verbosity level.

Values: LEVEL_UNSPECIFIED (0): Level is unspecified. Use default level for log4j. ALL (1): Use ALL level for log4j. TRACE (2): Use TRACE level for log4j. DEBUG (3): Use DEBUG level for log4j. INFO (4): Use INFO level for log4j. WARN (5): Use WARN level for log4j. ERROR (6): Use ERROR level for log4j. FATAL (7): Use FATAL level for log4j. OFF (8): Turn off log4j.