|
@@ -149,8 +149,8 @@ func initMgoLog() {
|
|
|
logPath = "./etalogs"
|
|
|
}
|
|
|
|
|
|
- mongoLogPath := logPath + "/mongo"
|
|
|
- mongoLogFile := "mongo.log"
|
|
|
+ mongoLogPath := logPath + "/mongologs"
|
|
|
+ mongoLogFile := "mongolog.log"
|
|
|
|
|
|
os.MkdirAll(mongoLogPath, os.ModePerm)
|
|
|
logFileName := path.Join(mongoLogPath, mongoLogFile)
|