mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-06 11:03:49 +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