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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/jobs.rb

Overview

The runtime logging config of the job.

Defined Under Namespace

Modules: Level Classes: DriverLogLevelsEntry

Instance Attribute Summary collapse

Instance Attribute Details

#driver_log_levels::Google::Protobuf::Map{::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:

  • (::Google::Protobuf::Map{::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'


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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# File 'proto_docs/google/cloud/dataproc/v1/jobs.rb', line 33

class LoggingConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # @!attribute [rw] key
  #   @return [::String]
  # @!attribute [rw] value
  #   @return [::Google::Cloud::Dataproc::V1::LoggingConfig::Level]
  class DriverLogLevelsEntry
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # 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.
  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