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

Improve logging in the script #49

Closed
andywaltlova opened this issue Dec 1, 2023 · 1 comment · Fixed by #70
Closed

Improve logging in the script #49

andywaltlova opened this issue Dec 1, 2023 · 1 comment · Fixed by #70

Comments

@andywaltlova
Copy link
Collaborator

Related to oamg/rhc-worker-script#100, when rhc-worker-script will be able to return progress reporting it would be great if we would have different levels of logging (based on the logging set for worker), that way we could either see the regular log that is outputed to stdout, or we could have debug/error logs.

@r0x0d
Copy link
Member

r0x0d commented Dec 4, 2023

Wonderful issue! we can try using the logging library for that.

Thinking more about that right now, maybe we could save the logs to a file too? That would help debug the system later. We can do the same set up we have for sosreport where we save the file to a specific folder too.

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

Successfully merging a pull request may close this issue.

2 participants