BNL-NowCasting / SolarForecasting

MIT License
2 stars 0 forks source link

need to expand logging to all modules #9

Open RichardWagener opened 4 years ago

RichardWagener commented 4 years ago

https://github.com/BNL-NowCasting/SolarForecasting/blob/449f7c658b2ab7336ae24065f2b07d512ca333ee/code/scripted_processing/preprocess.py#L172

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.