-
Notifications
You must be signed in to change notification settings - Fork 57
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
chore: libwaku - allow to properly set the log level in libwaku and unify a little #2708
Conversation
You can find the image built from this PR at
Built from 6e8b336 |
You can find the image built from this PR at
Built from 6e8b336 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!!!
buildLibrary name, "library/", "-d:chronicles_log_level=ERROR", "static" | ||
buildLibrary name, | ||
"library/", | ||
"""-d:chronicles_line_numbers -d:chronicles_runtime_filtering=on -d:chronicles_sinks="textlines,json" -d:chronicles_default_output_device=Dynamic -d:chronicles_disabled_topics="eth,dnsdisc.client" """, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wonder - although I see it is the default in nim.cfg also - why exactly these and only these topics are disabled??? I have no issue with it, just seems such a leftover...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wonder - although I see it is the default in nim.cfg also - why exactly these and only these topics are disabled??? I have no issue with it, just seems such a leftover...
Yes, I agree that this sounds like a leftover. I think for now we can leave them as is and in case we miss those in the future we can reenable them
# Adhere to NO_COLOR initiative: https://no-color.org/ | ||
let color = | ||
try: | ||
not parseBool(os.getEnv("NO_COLOR", "false")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is great!!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Superr, thanks so much!
Description
libwaku
logging
module and have a standard logging setup.waku.nim
withininit
proc.wakunode2
we also set the log before "waku.init" is invoked because we need to setup the logs properly for the "essential rest server" that we start at the beginningIssue
closes #2411