1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-10 22:51:31 +02:00

Add sensible logging flag to default setup for logger

This commit is contained in:
Kevin Kreitner
2021-01-19 17:28:58 +01:00
committed by Joel Speed
parent 1b335a056d
commit 6b50a55668
2 changed files with 2 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ func loggingFlagSet() *pflag.FlagSet {
flagSet.Bool("auth-logging", true, "Log authentication attempts")
flagSet.String("auth-logging-format", logger.DefaultAuthLoggingFormat, "Template for authentication log lines")
flagSet.Bool("sensible-logging", false, "Log sensible data")
flagSet.Bool("standard-logging", true, "Log standard runtime information")
flagSet.String("standard-logging-format", logger.DefaultStandardLoggingFormat, "Template for standard log lines")
flagSet.Bool("request-logging", true, "Log HTTP requests")