-
Notifications
You must be signed in to change notification settings - Fork 773
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
Ciritical dependency logging #4954
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
We currently do not have default (or good) way of viewing some important logs from our dependencies.
Specifically discovery (discv5) and libp2p. Recently, libp2p has upgraded to use the
tracing
crate. Discv5 already usestracing
.We currently can intertwine the dependency logs with our current
slog
output using the-l
parameter switch and setting the rust environment variableRUST_LOG
. This has worked in the past for debugging but its sub-optimal as the displayed logs are out of order and it needs to be set manually (meaning we don't have logs for past issues or from users).The ideal situation would be that lighthouse logs both libp2p and discv5 logs to a file by default. We could then retro-actively view past logs to diagnose issues.
Bonus points if we can limit the size of each file and have the log file automatically remove old logs.
The text was updated successfully, but these errors were encountered: