作者 tangxvhui

修改日志文件的路由

@@ -6,5 +6,5 @@ import ( @@ -6,5 +6,5 @@ import (
6 ) 6 )
7 7
8 func init() { 8 func init() {
9 - beego.SetStaticPath("/log", constant.LOG_File) 9 + beego.SetStaticPath("/log", "./log/"+constant.LOG_File)
10 } 10 }