1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-07-01 01:04:59 +02:00

Fix default value flag for sensitive logging

This commit is contained in:
Kevin Kreitner
2021-02-17 21:08:39 +01:00
committed by Joel Speed
parent 6b50a55668
commit a4ad6bccfb

View File

@ -35,7 +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("sensitive-logging", false, "Log sensitive 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")