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 thelog
directory paths.Also sets up the standard pcds logstash handler.
- Parameters
dir_logs (
str
orPath
, optional) – Path to the log directory. If omitted, we won’t use a log file.