mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Gate data proxy audit logging behind audit_logging server setting
This commit is contained in:
@@ -65,6 +65,7 @@ var (
|
||||
SshPort int
|
||||
CertFile, KeyFile string
|
||||
RouterLogging bool
|
||||
AuditLogging bool
|
||||
StaticRootPath string
|
||||
EnableGzip bool
|
||||
EnforceDomain bool
|
||||
@@ -490,6 +491,7 @@ func NewConfigContext(args *CommandLineArgs) error {
|
||||
HttpAddr = server.Key("http_addr").MustString(DEFAULT_HTTP_ADDR)
|
||||
HttpPort = server.Key("http_port").MustString("3000")
|
||||
RouterLogging = server.Key("router_logging").MustBool(false)
|
||||
AuditLogging = server.Key("audit_logging").MustBool(false)
|
||||
EnableGzip = server.Key("enable_gzip").MustBool(false)
|
||||
EnforceDomain = server.Key("enforce_domain").MustBool(false)
|
||||
StaticRootPath = makeAbsolute(server.Key("static_root_path").String(), HomePath)
|
||||
|
||||
Reference in New Issue
Block a user