From 17ae0ed3eef54d96bd179ff7fec0540cf3024748 Mon Sep 17 00:00:00 2001 From: ᴜɴᴋɴᴡᴏɴ Date: Sat, 29 Feb 2020 16:29:17 +0800 Subject: conf: overhaul settings (#5953) * Overhaul cache settings * Overhaul HTTP settings * conf: overhaul more settings * log: make LGTM happy * travis: upload report to Codecov * Add codecov.yml --- internal/cmd/serv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/cmd/serv.go') diff --git a/internal/cmd/serv.go b/internal/cmd/serv.go index e00a392b..0efb139b 100644 --- a/internal/cmd/serv.go +++ b/internal/cmd/serv.go @@ -68,7 +68,7 @@ func setup(c *cli.Context, logPath string, connectDB bool) { err = log.NewFile(log.FileConfig{ Level: level, - Filename: filepath.Join(conf.LogRootPath, logPath), + Filename: filepath.Join(conf.Log.RootPath, logPath), FileRotationConfig: log.FileRotationConfig{ Rotate: true, Daily: true, -- cgit v1.2.3