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

Soften the message when the stanza is not the correct one #358

Merged
merged 1 commit into from
Jan 27, 2024

Conversation

Seb35
Copy link
Contributor

@Seb35 Seb35 commented Dec 29, 2023

When there are multiple stanza and they are tried one after the other, there should not be a log with level “warning”, but only a log with level “info”.

The log_msg in the else is the previous one, it is the same message as the first one of the if but with level DEBUG, and the second one in the if is new. It has the level INFO which is the same level as the log just before "(stanza # 1) SPA Packet from IP: x.x.x.x received with access source match", so that it is coherent to see what stanza is checked then its result.

This will help monitoring the logs with less WARNINGs.

Issue: #337

When there are multiple stanza and they are tried one after the other,
there should not be a log with level “warning”, but only a log with
level “info”.

Issue: mrash#337
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants