mirror of
https://github.com/AlistGo/alist.git
synced 2025-06-06 10:24:32 +08:00
feat: add log enable config
This commit is contained in:
@ -22,7 +22,7 @@ func Log() {
|
||||
FullTimestamp: true,
|
||||
})
|
||||
logConfig := conf.Conf.Log
|
||||
if !args.Debug && logConfig.Path != "" {
|
||||
if logConfig.Enable {
|
||||
var (
|
||||
writer *rotatelogs.RotateLogs
|
||||
err error
|
||||
|
Reference in New Issue
Block a user