Add warning messages to logs if StackStorm running with python 2#5043
Add warning messages to logs if StackStorm running with python 2#5043
Conversation
|
Output from systemctl status on one of the stackstorm services just after starting:
Output from a log file on startup: Warning appeared in following log files:
Placement in the service_setup.py ensures that it goes to the log file as well as to systemctl status. Does not cover the changes for reporting via st2ctl, will need to be covered in separate PR. Not added as would be in a different area of code. |
arm4b
left a comment
There was a problem hiding this comment.
LGTM 👍
Also it's nice to see that implementation for this is actually so easy & clean.
Add warning messages in log files if StackStorm service is using python2
Warning message appears in log file, and also systemctl status (until journal will get wrapped).
Addresses part of #5041 and #4938
Does not cover the reporting from st2ctl