Skip to content

Conversation

@AltraMayor
Copy link
Owner

This pull request reduces log in production by lowering the priority of some log entries that do not add much in production,
are logged often, and are unavoidable.

GK blocks typically run at log level NOTICE in production
in order to log traffic information. So this patch reduces
the priority of two log entries that do not add much in production,
are logged often, and are unavoidable.

These log entries are as follows:
`GATEKEEPER GK: Prefix lookup did not find existing neighbor FIB on back interface, as expected`

This log entry and its respective for the front interface come
often as routing daemons are always making adjustments to the FIB.

Both log entries were at log level NOTICE, and are now INFO.
Gatekeeper servers have to tolerate unwanted traffic at
some vantage points. And the following log entry can be
excessive and unavoidable:

`GATEKEEPER LLS: front interface should not be seeing a packet with EtherType 0x8847`

Since LLS blocks typically run at WARNING level in production,
this patch changed the log level of this log entry from ERR to
NOTICE.

As a side note, the EtherType 0x8847 corresonds to MPLS.
@AltraMayor AltraMayor added the Operational demand This issue would make Gatekeeper safer and/or cheaper to operate label Sep 1, 2021
@AltraMayor AltraMayor added this to the First deployment milestone Sep 1, 2021
@AltraMayor AltraMayor merged commit 1ee27cb into master Sep 1, 2021
@AltraMayor AltraMayor deleted the prod-log branch September 1, 2021 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Operational demand This issue would make Gatekeeper safer and/or cheaper to operate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants