server.web.logging
Logging configuration for jobmon server applications.
This module provides the standard logging configuration used by server startup and API initialization.
Configuration is generated programmatically with support for user overrides via JobmonConfig. Server logs are automatically captured by OTLP when enabled (handled by the server configuration overrides).
Attributes
Functions
|
Configure server logging with programmatic generation and user override support. |
Module Contents
- server.web.logging.default_config: Dict
- server.web.logging.configure_server_logging() None
Configure server logging with programmatic generation and user override support.
This is the primary interface for configuring server logging. It supports: 1. User file overrides via logging.server_logconfig_file 2. User section overrides via logging.server.* 3. Environment variable overrides 4. Programmatic base configuration
Configuration precedence: 1. Custom file (logging.server_logconfig_file) - complete replacement 2. Section overrides (logging.server.*) - merged with base 3. Programmatic base: generate_component_logconfig(“server”)
Note: Server OTLP is handled separately by the server OTLP manager.