Add functionality to load Python logging configuration from file
Merge request !131 (merged) refactored a number of Python modules in the repository to use loggers named per Python module, and configured logging levels and file output in the entry script in bin/gstlal_inspiral_postcohspiir_online.
An ideal solution would also allow for the user to simply provide the path to a logging configuration file when running a SPIIR script.
Using something like logging.fileConfig
(or logging.dictConfig
if appropriate) from the Python standard library would make it so that users can configure logging handlers, levels, and outputs more conveniently in a standard config file, reducing the amount of boilerplate logging code required per script.