1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-28 09:08:44 +02:00
oauth2-proxy/pkg
Karl Skewes ec97000169 Add silence ping logging flag
Add ability to silence logging of requests to /ping endpoint, reducing
log clutter

Pros:
- Don't have to change all handlers to set/not set silent ping logging
- Don't have to duplicate `loggingHandler` (this could be preferable yet)

Cons:
- Leaking oauth2proxy logic into `package logger`
- Defining default pingPath in two locations

Alternative:
- Add generic exclude path to `logger.go` and pass in `/ping`.
2019-07-16 09:42:24 +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 silence ping logging flag 2019-07-16 09:42:24 +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