oauth2_proxy/pkg
Karl Skewes c4f20fff3d Add exclude logging path option
Useful for excluding /ping endpoint to reduce log volume.
This is somewhat more verbose than a simple bool to disable logging of
the `/ping` endpoint.

Perhaps better to add `-silence-ping-logging` bool flag to `options.go` and
pass in the `/ping` endpoint as part of `logger` declaration in `options.go`.

Could be extended into a slice of paths similar to go-gin's `SkipPaths`:
https://github.com/gin-gonic/gin/blob/master/logger.go#L46
2019-07-16 09:43:47 +12:00
..
apis Move cookie to pkg/encryption 2019-06-15 11:33:57 +02:00
cookies Fix gofmt for changed files 2019-06-15 11:34:00 +02:00
encryption Move cookie to pkg/encryption 2019-06-15 11:33:57 +02:00
logger Add exclude logging path option 2019-07-16 09:43:47 +12:00
requests Move logger to pkg/logger 2019-06-15 11:33:58 +02:00
sessions Move cookie to pkg/encryption 2019-06-15 11:33:57 +02:00