MFLOG

mflog.getLogger(*args, **kwargs)[source]

Return a python logging logger.

This function is just a wrapper.

But by importing and using this one (and not directly logging.getLogger), you are sure that the logging config is set.

mflog.set_logging_config()[source]

Set the metwork logging config.

If the env var MFLOG_DEBUG_CONFIGURATION is set to 1, you have a debug output on stdout on the full configuration applied with logging.config.dictConfig.