|
formatter=logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s') |
Need to include %(processName) in log-format.
Ideally should set up a separate queue thread for that logging.
See: https://docs.python.org/3.5/howto/logging-cookbook.html#logging-cookbook
To get started maybe going through all the major sections of code to replace print statements with appropriate logger.level message.
SolarForecasting/code/scripted_processing/preprocess.py
Line 172 in 449f7c6
Need to include %(processName) in log-format.
Ideally should set up a separate queue thread for that logging.
See: https://docs.python.org/3.5/howto/logging-cookbook.html#logging-cookbook
To get started maybe going through all the major sections of code to replace print statements with appropriate logger.level message.