{ } Raw JSON

bundles / traitlets 5.15.0 / traitlets / config / application / Application / get_default_logging_config

function

traitlets.config.application:Application.get_default_logging_config

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

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