mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-06 22:40:31 -05:00
Change access log level to INFO
This commit is contained in:
parent
60690c78ae
commit
7fb1c7e91d
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ func Log(c *Controller) (middleware.Middleware, error) {
|
||||||
} else if rules[i].OutputFile == "stderr" {
|
} else if rules[i].OutputFile == "stderr" {
|
||||||
file = os.Stderr
|
file = os.Stderr
|
||||||
} else if rules[i].OutputFile == "syslog" {
|
} else if rules[i].OutputFile == "syslog" {
|
||||||
file, err = gsyslog.NewLogger(gsyslog.LOG_NOTICE, "SYSLOG", "caddy")
|
file, err = gsyslog.NewLogger(gsyslog.LOG_INFO, "SYSLOG", "caddy")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue