-
-
Notifications
You must be signed in to change notification settings - Fork 330
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
Broken trace
logging
#5809
Comments
It looks like the ColorizeOptions expect a map with matching levels for color lookup |
Last time we had discussion on this in #5299 there was no push towards adding As far as I understand the renaming in #4539 was just done so you could set Before looking into fixing the issue here, I would suggest we first discuss if trace is a log level we should support and then add it to logging policy first. |
We should remove the option if we are not going to use it. Broke the node when i deployed trying to trace the network worker message latency to figure out why the grafana dashboard wasnt working. Or fix it. I figured out how to and was pretty easy. Just needed to pass a map to the color options. Already fixed on |
From the agreed logging policy we do not support trace right? |
Currently we do not support trace. It’s not in our contribution md. |
We should remove it from types to prevent accidental usage but still allow it to be passed through CLI to not break the use case mentioned in #4536. |
Closing. Removed |
Describe the bug
It appears that trace logging is broken. Attempted to add a
logger.trace()
call and e2e tests and the node broke when deployed.I removed the call and the error went away. I changed the error to
debug
and the error also went away. It looks like the name was changed fromsilly
totrace
in #4539 and winston expects the stringsilly
to be passed.We are setting the
logLevelNum
which the docs say should work but it may not be set correctly.Expected behavior
A trace log should work and not break the other log levels
Steps to reproduce
logger.trace
Additional context
No response
Operating system
Linux
Lodestar version or commit hash
unstable
The text was updated successfully, but these errors were encountered: