Class LoggingConfiguration
java.lang.Object
io.quarkiverse.googlecloudservices.logging.runtime.LoggingConfiguration
@ConfigRoot(name="google.cloud.logging",
phase=RUN_TIME)
public class LoggingConfiguration
extends Object
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic classstatic enumstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionConfigure default labels.Which Google Operations log should be used by default.booleanEnable or disable the Google Cloud logging.Configure auto flush level.Configure base formatting to be either plain text or structured json.Configure how trace information is handled in GCP.com.google.cloud.logging.LoggingHandler.LogTargetConfigures if logs should be written to stdout or stderr instead of using Google Cloud Operations API.Configured the monitored resource.Configuration options for structured logging.Optional<com.google.cloud.logging.Synchronicity>Configure GCP logging synchronicity. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
defaultLog
Which Google Operations log should be used by default. -
enabled
@ConfigItem(defaultValue="true") public boolean enabledEnable or disable the Google Cloud logging. -
format
Configure base formatting to be either plain text or structured json. Allowed values: TEXT|JSON -
synchronicity
Configure GCP logging synchronicity. Allowed values: SYNC|ASYNC -
flushLevel
Configure auto flush level. Allowed values: DEBUG|INFO|WARN|ERROR|FATAL -
defaultLabel
Configure default labels. -
resource
Configured the monitored resource. Please consult the Google documentation for the correct values. -
gcpTracing
Configure how trace information is handled in GCP. -
structured
Configuration options for structured logging. -
logTarget
@ConfigItem(defaultValue="CLOUD_LOGGING") public com.google.cloud.logging.LoggingHandler.LogTarget logTargetConfigures if logs should be written to stdout or stderr instead of using Google Cloud Operations API. Useful if app is deployed to managed Google Cloud Platform environment with installed logger agent. Possible values: STDOUT, STDERR and CLOUD_LOGGING.
-
-
Constructor Details
-
LoggingConfiguration
public LoggingConfiguration()
-