hutch_python.log_setup.setup_logging

hutch_python.log_setup.setup_logging(dir_logs=None)

Sets up the logging configuration.

Uses logging.yml to define the config and manages the log directory paths.

Also sets up the standard pcds logstash handler.

Parameters

dir_logs (str or Path, optional) – Path to the log directory. If omitted, we won’t use a log file.