cars.conf.log_conf

Logconf Cars module: contains logging configuration

Module Contents

Functions

setup_log([loglevel])

Setup the CARS logging configuration

add_log_file(out_dir, command)

Add dated file handler to the logger.

cars.conf.log_conf.setup_log(loglevel=logging.WARNING)[source]

Setup the CARS logging configuration

Parameters

loglevel – log level default WARNING

cars.conf.log_conf.add_log_file(out_dir, command)[source]

Add dated file handler to the logger.

Parameters
  • out_dir (str) – output directory in which the log file will be created

  • command (str) – command name which will be part of the log file name