xyxie 1 год назад
Родитель
Сommit
bf5f257057
2 измененных файлов с 5 добавлено и 4 удалено
  1. 1 0
      .gitignore
  2. 4 4
      utils/logs.go

+ 1 - 0
.gitignore

@@ -3,6 +3,7 @@
 /.idea
 /routers/.DS_Store
 /rdlucklog
+/etalogs/*
 /conf/*.conf
 /binlog/*
 /*.pdf

+ 4 - 4
utils/logs.go

@@ -12,10 +12,10 @@ import (
 )
 
 const (
-	DefaultLogPath    = "./rdlucklog/filelog"
-	DefaultBinlogPath = "./rdlucklog/binlog"
-	DefaultDataPath   = "./rdlucklog/datalog"
-	DefaultApiLogPath = "./rdlucklog/apilog"
+	DefaultLogPath    = "./etalogs/filelog"
+	DefaultBinlogPath = "./etalogs/binlog"
+	DefaultDataPath   = "./etalogs/datalog"
+	DefaultApiLogPath = "./etalogs/apilog"
 )
 
 var FileLog = logrus.New()