{ } Raw JSON

bundles / traitlets latest / traitlets / config / application / Application / get_default_logging_config

function

traitlets.config.application:Application.get_default_logging_config

source: /traitlets/config/application.py:223

Signature

def get_default_logging_config(self) → StrDict

Summary

Return the base logging configuration.

Extended Summary

The default is to log to stderr using a StreamHandler, if no default handler already exists.

The log handler level starts at logging.WARN, but this can be adjusted by setting the log_level attribute.

The logging_config trait is merged into this allowing for finer control of logging.

Aliases

  • traitlets.config.Application.get_default_logging_config