Skip to main content

Module logging

Module logging 

Source
Expand description

Translation between a remote agent’s logging settings and the logging stack’s own configuration.

Remote agent logging must follow the Datadog Agent’s logging configuration for the settings that are sensibly shared (level, format, console output, rotation), but each remote agent must use its own destination so it doesn’t collide with the Core Agent’s own log file. This module owns those rules in one place.

Structs§

LoggingSettings
Logging settings shared with the Datadog Agent.
LoggingTranslator
Logging configuration translator for matching the Datadog Agent’s logging behavior.

Constants§

FIRST_PARTY_LOG_TARGETS
Log targets that a plain log level applies to, regardless of which remote agent is running.