# LoggingConfig

- [JSON representation](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/LoggingConfig#SCHEMA_REPRESENTATION)
- [Level](https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/LoggingConfig#Level)

The runtime logging config of the job.

| JSON representation |
|---|
| ``` { "driverLogLevels": { string: enum (`https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/LoggingConfig#Level`), ... } } ``` |

| Fields ||
|---|---|
| `driverLogLevels` | ``map (key: string, value: enum (`https://docs.cloud.google.com/managed-spark/docs/reference/rest/v1/LoggingConfig#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 an [Apache Hive](https://hive.apache.org/) job, Cloud Dataproc configures the Hive client to an equivalent verbosity level.

| Enums ||
|---|---|
| `LEVEL_UNSPECIFIED` | Level is unspecified. Use default level for log4j. |
| `ALL` | Use ALL level for log4j. |
| `TRACE` | Use TRACE level for log4j. |
| `DEBUG` | Use DEBUG level for log4j. |
| `INFO` | Use INFO level for log4j. |
| `WARN` | Use WARN level for log4j. |
| `ERROR` | Use ERROR level for log4j. |
| `FATAL` | Use FATAL level for log4j. |
| `OFF` | Turn off log4j. |