Skip to content
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

HOTFIX Make some informative warning logs optional, comment about implies #4072

Merged
merged 1 commit into from
Nov 17, 2024

Conversation

jberthold
Copy link
Member

The logMessage' function, which emits log messages unconditionally, was used for logging some exception conditions in booster. However, these warnings should not appear by default in user-facing output when booster is called through the proxy and just falls back to using kore-rpc.

The changes do not remove the log messages, they are now emitted at context [proxy], which is a common and recommended log setting to see what the server is up to.

Besides changing the logMessage' calls, a comment is added to point out where the incompleteness of the implies endpoint is rooted in the code.

…lies

The `logMessage'` function, which emits log messages _unconditionally_,
was used for logging some exception conditions in booster. However, these warnings
should not appear by default in user-facing output when booster is called through
the proxy and just falls back to using kore-rpc.

The changes do not remove the log messages, they are now emitted at context `[proxy]`,
which is a common and recommended log setting to see what the server is up to.

Besides changing the `logMessage'` calls, a comment is added to point out where
the incompleteness of the `implies` endpoint is rooted in the code.
@jberthold jberthold requested review from PetarMax and geo2a November 14, 2024 23:48
@jberthold jberthold marked this pull request as ready for review November 14, 2024 23:48
@rv-jenkins rv-jenkins merged commit 044df58 into master Nov 17, 2024
6 checks passed
@rv-jenkins rv-jenkins deleted the HOTFIX-suppress-some-warning-logging branch November 17, 2024 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants