mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-28 08:27:26 +02:00
config: change the default logging level to INFO (#902)
config: change the default logging level to INFO DEBUG logging level is very verbose and potentially logs sensitive data. We should set default log level to INFO. Updates #895 Fixes #896
This commit is contained in:
parent
896467c4bf
commit
e0bdd906f9
4 changed files with 12 additions and 53 deletions
|
@ -45,7 +45,7 @@ type Options struct {
|
|||
Debug bool `mapstructure:"pomerium_debug" yaml:"pomerium_debug,omitempty"`
|
||||
|
||||
// LogLevel sets the global override for log level. All Loggers will use at least this value.
|
||||
// Possible options are "info","warn", and "error". Defaults to "debug".
|
||||
// Possible options are "info","warn","debug" and "error". Defaults to "info".
|
||||
LogLevel string `mapstructure:"log_level" yaml:"log_level,omitempty"`
|
||||
|
||||
// ProxyLogLevel sets the log level for the proxy service.
|
||||
|
@ -256,7 +256,7 @@ type certificateFilePair struct {
|
|||
// DefaultOptions are the default configuration options for pomerium
|
||||
var defaultOptions = Options{
|
||||
Debug: false,
|
||||
LogLevel: "debug",
|
||||
LogLevel: "info",
|
||||
Services: "all",
|
||||
CookieHTTPOnly: true,
|
||||
CookieSecure: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue