0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Change access log level to INFO

This commit is contained in:
Maxime 2015-07-30 22:01:15 +02:00
parent 60690c78ae
commit 7fb1c7e91d

View file

@ -29,7 +29,7 @@ func Log(c *Controller) (middleware.Middleware, error) {
} else if rules[i].OutputFile == "stderr" {
file = os.Stderr
} 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 {
return err
}