hutch_python.log_setup.setup_logging¶
-
hutch_python.log_setup.setup_logging(dir_logs=None)¶ Sets up the
loggingconfiguration.Uses
logging.ymlto define the config and manages thelogdirectory paths.Also sets up the standard pcds logstash handler.
- Parameters
dir_logs (
strorPath, optional) – Path to the log directory. If omitted, we won’t use a log file.