-
Notifications
You must be signed in to change notification settings - Fork 29
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
Dump logs of API and Pipeline services #334
Closed
Comments
Some comments based on an initial investigation:
|
Finally i found approach that helped me in past. In general terms it is described here: https://docs.python.org/3/howto/logging-cookbook.html You can add multiple handlers with different log levels to Logging, so this way you can save in file verbose submission info, and leave for stdout (dozzle/kubernetes) generic info, simultaneously. |
This was referenced Jul 5, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On the staging instance, we are running Dozzle container for publishing API and Pipeline service logs.
i.e. https://staging.kernelci.org:9088/
One problem with it is whenever services restart, we lose all the previous logs and hence also lose a trail of failures as well.
It's not possible to catch all failures without log dump. Hence, enable a mechanism to dump logs to log files to debug the services at a later time.
The text was updated successfully, but these errors were encountered: