Open RichardWagener opened 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.
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.