diff --git a/.idea/GOHCache.xml b/.idea/GOHCache.xml index 210beeb..c1ff035 100644 --- a/.idea/GOHCache.xml +++ b/.idea/GOHCache.xml @@ -241,7 +241,7 @@ - diff --git a/log/log.go b/log/log.go index fdf1c0e..4a8e8dd 100644 --- a/log/log.go +++ b/log/log.go @@ -19,7 +19,7 @@ var ( ) func init() { - logPath = gfile.Join(gfile.Pwd(), "log") + logPath = gfile.Join(gfile.Pwd(), "logs") filePath := gfile.Join(logPath, fmt.Sprintf("log-%s.log", gtime.Date())) fileLogger := &lumberjack.Logger{ Filename: filePath,