1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 13:50:54 +00:00
修复AccessLog输出会多换一行的bug
This commit is contained in:
Back Yu 2017-12-12 12:21:55 +08:00 committed by GitHub
parent 33be6803a3
commit 84443b9c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ import (
) )
const ( const (
apacheFormatPattern = "%s - - [%s] \"%s %d %d\" %f %s %s\n" apacheFormatPattern = "%s - - [%s] \"%s %d %d\" %f %s %s"
apacheFormat = "APACHE_FORMAT" apacheFormat = "APACHE_FORMAT"
jsonFormat = "JSON_FORMAT" jsonFormat = "JSON_FORMAT"
) )