diff options
author | ᴜɴᴋɴᴡᴏɴ <u@gogs.io> | 2020-02-29 16:29:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 16:29:17 +0800 |
commit | 17ae0ed3eef54d96bd179ff7fec0540cf3024748 (patch) | |
tree | a9111282717da16feb83baf352ffb2ee5178ca0d /internal/cmd/serv.go | |
parent | d59b0f6ff7ee24d94eaa5ad68173405faea6a81c (diff) |
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
Diffstat (limited to 'internal/cmd/serv.go')
-rw-r--r-- | internal/cmd/serv.go | 2 |
1 files changed, 1 insertions, 1 deletions
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, |