LoggingConfig

The runtime logging config of the job.

JSON representation
{"driverLogLevels":{string:enum (Level),...}}
Fields
driverLogLevels

map (key: string, value: enum (Level))

The per-package log levels for the driver. This can include "root" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG'

An object containing a list of"key": value pairs. Example:{ "name": "wrench", "mass": "1.3kg", "count": "3" }.

Level

The Log4j level for job execution. When running anApache Hive job, Cloud Dataproc configures the Hive client to an equivalent verbosity level.

Enums
LEVEL_UNSPECIFIEDLevel is unspecified. Use default level for log4j.
ALLUse ALL level for log4j.
TRACEUse TRACE level for log4j.
DEBUGUse DEBUG level for log4j.
INFOUse INFO level for log4j.
WARNUse WARN level for log4j.
ERRORUse ERROR level for log4j.
FATALUse FATAL level for log4j.
OFFTurn off log4j.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-20 UTC.