-
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
fix: log-level being ignored #1272
Conversation
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 ✅
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.
Thanks.
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. One thing to consider is that the default log level almost everywhere will now be INFO
, whereas previously it would have been DEBUG
after compilation. We may want to change the default for fleet deployments to DEBUG
so that we can continue using it as before: https://github.com/status-im/infra-role-nim-waku/blob/master/defaults/main.yml#L19
@jm-clius actually we already explicitly set log level to
But we can always change that. |
Yeah, indeed ( |
Okay, done:
|
Previously the log level flag was ignored: waku-org/nwaku#1272 Signed-off-by: Jakub Sokołowski <jakub@status.im>
Previously the log level flag was ignored: waku-org/nwaku#1272 Signed-off-by: Jakub Sokołowski <jakub@status.im>
cd8931e
to
2df1c75
Compare
2df1c75
to
e4fb43a
Compare
Closes #1197
Problem:
-d:chronicles_runtime_filtering:on
flagsetLogLevel
does not work.setLogLevel
only works with levels less verbose than-d:chronicles_log_level=xxx
, i.e.setLogLevel(TRACE)
won't work if-d:chronicles_log_level=INFO
.Solution:
-d:chronicles_runtime_filtering:on
when compiling all binaries-d:chronicles_log_level=TRACE
to all nwakuapp
andwakunode2
Now the following works as expected. Note that default is
INFO
.