Closed
Description
There are log statements that cannot be suppressed in net/http/cookie.go file. These statements create too much log when we redirect output to log file. Is there anyway to connect these to a parameter like isDebug
.
sanitizeOrWarn function
332 log.Printf("net/http: invalid byte %q in %s; dropping invalid bytes", v[i], fieldName)
String() function
153 } else {
154 log.Printf("net/http: invalid Cookie.Domain %q; dropping domain attribute",
155 c.Domain)
156 }