Skip to content

Improve log entries for production#479

Merged
AltraMayor merged 2 commits intomasterfrom
log
May 25, 2021
Merged

Improve log entries for production#479
AltraMayor merged 2 commits intomasterfrom
log

Conversation

@AltraMayor
Copy link
Owner

The following patches improve some log entries according to the feedback we've received from a production deployment.

@AltraMayor AltraMayor added the Operational demand This issue would make Gatekeeper safer and/or cheaper to operate label May 19, 2021
@AltraMayor AltraMayor added this to the First deployment milestone May 19, 2021
Copy link
Collaborator

@mengxiang0811 mengxiang0811 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch lib: increase log level for wrong VLAN tag report is ready for merge.

Copy link
Collaborator

@mengxiang0811 mengxiang0811 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch cps: review log messages of rtnetlink for KNI is ready for merge.

Log entries similar to the one below can be overwhelming
in production due to loose filters:

GATEKEEPER: l2: front interface received an ARP packet with
an incorrect VLAN tag (0xd06 but should be 0x60d)
This patch adds more information to the log messages and
simplify the code by reorganizing where IPv4 and IPv6 addresses
are converted to strings.
@AltraMayor AltraMayor merged commit 35b0d09 into master May 25, 2021
@AltraMayor AltraMayor deleted the log branch May 25, 2021 22:41
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