Configure logging¶
Config options:¶
Some config options for config [core] section
- log_level
The default log level to use when no logging_conf_file is set. Must be a valid name of a Python log level. Default is
DEBUG
.- logging_conf_file
Location of the logging configuration file.
- no_configure_logging
If true, logging is not configured. Defaults to false.
Config section¶
If you’re use TOML for configuration file, you can configure logging
via logging
section in this file. See example
for more details.
Luigid CLI options:¶
--background
Run daemon in background mode. Disable logging setup and set up log level to INFO for root logger.
--logdir
set logging with INFO level and output in
$logdir/luigi-server.log
file
Worker CLI options:¶
--logging-conf-file
Configuration file for logging.
--log-level
Default log level. Available values: NOTSET, DEBUG, INFO, WARNING, ERROR, CRITICAL. Default DEBUG. See Python documentation For information about levels difference.
Configuration options resolution order:¶
no_configure_logging option
--background
--logdir
--logging-conf-file
logging_conf_file option
logging
section--log-level
log_level option