configure_logging#
- carb.logging.configure_logging() None#
Configures global logging plugin with values from the config plugin values. Global logging configuration specifies behavior for any loggers registered later, and dictates neither how exactly any specific logger should operate, nor what the output will look like.
Supported config fields: - “level”: string log level value, available options: “verbose”|”info”|”warning”|”error”|”fatal” - “enabled”: boolean value, enable or disable logging
These values could be specified either per-source, in the source collection (“/log/sources/”), for example, <source> level should be specified as “/log/sources/<source>/level”, or globally, as “/log/level”. Similar pattern applies to “enabled” property.