john_toolbox.utils.logger_config.setup_log_config

john_toolbox.utils.logger_config.setup_log_config(is_dev=False, level=None)[source]

Setup logging configuration.

Parameters
  • is_dev (boolean) – if True, the dev configuration log file is used (more readable for developers) you can activate the dev mode passing ‘True’ to ENGINE_LOGS_DEV into the ‘engine-service.yml’ from brain_docker

  • level (str, default=None) – parameters to override