1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 05:01:28 +00:00

set default to apache format

This commit is contained in:
astaxie 2017-11-19 11:07:57 +08:00
parent b7eb3963f5
commit a948d4c1e1

View File

@ -247,7 +247,7 @@ func newBConfig() *Config {
}, },
Log: LogConfig{ Log: LogConfig{
AccessLogs: false, AccessLogs: false,
AccessLogsFormat: "", AccessLogsFormat: "APACHE_FORMAT",
FileLineNum: true, FileLineNum: true,
Outputs: map[string]string{"console": ""}, Outputs: map[string]string{"console": ""},
}, },