Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging records in the logging window (and stdout on the command line) #894

Open
carandraug opened this issue Jun 9, 2024 · 0 comments
Open

Comments

@carandraug
Copy link
Collaborator

There are two things that would help (at least me) during debugging which are related:

  1. have stderr and stdout in the command line (at the moment cockpit hijacks those to the logging window);
  2. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant