There are two things that would help (at least me) during debugging which are related:
have stderr and stdout in the command line (at the moment cockpit hijacks those to the logging window);
start using the logging module with appropriate levels instead of print statements (so we can logging.debug around).
So I would like to replace the current logging window with some sort of event window for the logging records and replace all print statements we have with the appropriate logging functions for their level. I'm worried about unhandled exceptions that currently end up on stderr so I guess we should somehow hijack stderr to get them and make logging records out of them.
There are two things that would help (at least me) during debugging which are related:
So I would like to replace the current logging window with some sort of event window for the logging records and replace all print statements we have with the appropriate logging functions for their level. I'm worried about unhandled exceptions that currently end up on stderr so I guess we should somehow hijack stderr to get them and make logging records out of them.