if action log_level == DEBUG and config python_runner_log_level is INFO cannot debug log
https://github.com/StackStorm/st2/blob/007beed8325b397d540d97905af8f2edb14b925f/contrib/runners/python_runner/python_runner/python_runner.py#L128
Cannot log DEBUG from python action if the config setting for python_runner_log_level under actions in st2.log is set to something other than DEBUG.
The reason is the above line checks if the log_level = DEBUG and if so it just uses the config setting in st2.log
A possible solution is to just remove the default setting in this yaml file so that log_level=None on initialization. It should then default to using what is in the config (due to it being set in the constructor) and skip this line altogether.
https://github.com/StackStorm/st2/blob/007beed8325b397d540d97905af8f2edb14b925f/contrib/runners/python_runner/python_runner/runner.yaml#L46
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.