mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
netstack: turn off logging by default
This was accidentally turned on in a previous CL. PiperOrigin-RevId: 578613452
This commit is contained in:
committed by
gVisor bot
parent
ad77778bee
commit
ea234b5da4
@@ -24,7 +24,7 @@ import (
|
||||
"gvisor.dev/gvisor/pkg/tcpip/stack"
|
||||
)
|
||||
|
||||
// matchMaker knows how to (un)marshal the matcher named name(). UPDATE THIS
|
||||
// matchMaker knows how to (un)marshal the matcher named name().
|
||||
type matchMaker interface {
|
||||
// name is the matcher name as stored in the xt_entry_match struct.
|
||||
name() string
|
||||
|
||||
@@ -35,7 +35,7 @@ import (
|
||||
// enableLogging controls whether to log the (de)serialization of netfilter
|
||||
// structs between userspace and netstack. These logs are useful when
|
||||
// developing iptables, but can pollute sentry logs otherwise.
|
||||
const enableLogging = true
|
||||
const enableLogging = false
|
||||
|
||||
// nflog logs messages related to the writing and reading of iptables.
|
||||
func nflog(format string, args ...any) {
|
||||
|
||||
Reference in New Issue
Block a user