netstack: turn off logging by default

This was accidentally turned on in a previous CL.

PiperOrigin-RevId: 578613452
This commit is contained in:
Kevin Krakauer
2023-11-01 13:00:31 -07:00
committed by gVisor bot
parent ad77778bee
commit ea234b5da4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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) {