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

Getting errors from the logs shortcut #36

Open
parkeraa opened this issue Dec 28, 2023 · 1 comment
Open

Getting errors from the logs shortcut #36

parkeraa opened this issue Dec 28, 2023 · 1 comment

Comments

@parkeraa
Copy link
Contributor

It would be convenient to have a command like "pyrolab status" that would print out if the daemon is running or not, and prints out any warnings or critical errors that have occurred since pyrolab last went up. This would make it a lot easier to debug problems with a daemon/service without having to export the logs every time.

@parkeraa
Copy link
Contributor Author

This could also be done in the pyrolab ps command. If a process has died, report the corresponding errors. Also, since pyrolab will retry forever, make sure to only print the most recent instance of a given error.

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