You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
@omerkirk, have you considered just filtering out things you don't want by installing your own filtering io.Writer implementation with log.SetOutput(io.Writer)? I think that might be cleaner than https://golang.org/cl/9411
@josharian and I looked into those warnings and they appear to only happen for when your own code is sending invalid cookies out. There are no other places to report those, so you should really be fixing your application instead of ignoring them.
Closing this bug for now, but feel free to argue otherwise if we're missing something.
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
String() function
The text was updated successfully, but these errors were encountered: