service-logging.toml: Logging Settings#

service-logging.toml#

Centralized logging configuration for all Juice services.

By default, all services inherit the same logging settings, which can be customized for individual services as needed. Each service logs to both InfluxDB2 and stdout, with handlers set to capture messages at INFO level and above by default.

You can review logs via the dashboard or by using Client.display_service_logs

WARNING: A service must be restarted for changes to its logging configuration to take effect.

bucket_name#

Type: string. Default: 'service_logs'.

Name of the InfluxDB bucket to log to.

services#

Type: dict[string, object].

Logging configuration for each service.

services.{key}#

Type: object.

Logging Configuration of a single Service.

services.{key}.log_level_influxdb#

Type: integer. Default: 20.

Log level of the InfluxDB logger of the service.

services.{key}.log_level_stdout#

Type: integer. Default: 20.

Log level of the stdout logger of the service.