Class: Google::Cloud::Dataproc::V1::LoggingConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb

Overview

The runtime logging config of the job.

Defined Under Namespace

Modules: Level

Instance Attribute Summary collapse

Instance Attribute Details

#driver_log_levelsHash{String => Google::Cloud::Dataproc::V1::LoggingConfig::Level}

Returns 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'

Returns:

  • (Hash{String => Google::Cloud::Dataproc::V1::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'



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/jobs.rb', line 26

class LoggingConfig
  # The Log4j level for job execution. When running an
  # [Apache Hive](http://hive.apache.org/) job, Cloud
  # Dataproc configures the Hive client to an equivalent verbosity level.
  module Level
    # Level is unspecified. Use default level for log4j.
    LEVEL_UNSPECIFIED = 0

    # Use ALL level for log4j.
    ALL = 1

    # Use TRACE level for log4j.
    TRACE = 2

    # Use DEBUG level for log4j.
    DEBUG = 3

    # Use INFO level for log4j.
    INFO = 4

    # Use WARN level for log4j.
    WARN = 5

    # Use ERROR level for log4j.
    ERROR = 6

    # Use FATAL level for log4j.
    FATAL = 7

    # Turn off log4j.
    OFF = 8
  end
end