镜像自地址
https://github.com/tuna/tunasync.git
已同步 2025-12-08 15:36:47 +00:00
Set proper logging level on tunasynctl-cmd
这个提交包含在:
@@ -24,9 +24,12 @@ func InitLogger(verbose, debug, withSystemd bool) {
|
|||||||
|
|
||||||
if debug {
|
if debug {
|
||||||
logging.SetLevel(logging.DEBUG, "tunasync")
|
logging.SetLevel(logging.DEBUG, "tunasync")
|
||||||
|
logging.SetLevel(logging.DEBUG, "tunasynctl-cmd")
|
||||||
} else if verbose {
|
} else if verbose {
|
||||||
logging.SetLevel(logging.INFO, "tunasync")
|
logging.SetLevel(logging.INFO, "tunasync")
|
||||||
|
logging.SetLevel(logging.INFO, "tunasynctl-cmd")
|
||||||
} else {
|
} else {
|
||||||
logging.SetLevel(logging.NOTICE, "tunasync")
|
logging.SetLevel(logging.NOTICE, "tunasync")
|
||||||
|
logging.SetLevel(logging.NOTICE, "tunasynctl-cmd")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户