Skip to content

Conversation

@tamilmani1989
Copy link
Member

Reason for Change:

Removing logs that are not useful and spamming the log file. Also it accounts for cni execution time.

Issue Fixed:

Requirements:

Notes:

@tamilmani1989 tamilmani1989 added enhancement cni Related to CNI. labels Jul 19, 2023
@tamilmani1989 tamilmani1989 requested a review from a team as a code owner July 19, 2023 19:24
@tamilmani1989 tamilmani1989 requested a review from rohitams July 19, 2023 19:24
Copy link
Contributor

@paulyufan2 paulyufan2 left a comment

Choose a reason for hiding this comment

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

lgtm

}

log.Printf("[net] Restored state")
for _, extIf := range nm.ExternalInterfaces {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do we need to remove this part ? Is this not used anymore?
My understanding is that number of endpoints after restoring the state is displayed in the logs.

Copy link
Member Author

Choose a reason for hiding this comment

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

moved to a place where we create and delete endpoints.. this is causing spam for windows mulitenancy case where customer create network per vlan id and this log getting looped for all networks each time on add/del

@tamilmani1989 tamilmani1989 changed the title cni: Removing CNI logs that are not useful chore: Removing CNI logs that are not useful Jul 19, 2023
@rjdenney rjdenney merged commit 63548ed into master Jul 20, 2023
@rjdenney rjdenney deleted the tamanoha/removeNwIfaceLogs branch July 20, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cni Related to CNI. enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants