Merge pull request #337 from hantmac/develop

修改isDeletePeriodically参数默认为N
This commit is contained in:
Marvin Zhang
2019-12-04 16:57:03 +08:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ redis:
log:
level: info
path: "/var/logs/crawlab"
isDeletePeriodically: "Y"
isDeletePeriodically: "N"
deleteFrequency: "@hourly"
server:
host: 0.0.0.0

View File

@@ -47,6 +47,8 @@ func main() {
panic(err)
}
log.Info("初始化定期清理日志配置成功")
}else {
log.Info("默认未开启定期清理日志配置")
}
// 初始化Mongodb数据库