1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-06 06:26:46 +00:00

feature(worker): runMirrorJob no longer controls the interval

这个提交包含在:
bigeagle
2016-04-24 16:48:47 +08:00
父节点 afee5b2a81
当前提交 6b05a5894e
共有 3 个文件被更改,包括 32 次插入28 次删除

查看文件

@@ -10,9 +10,9 @@ import (
func InitLogger(verbose, debug, withSystemd bool) {
var fmtString string
if withSystemd {
fmtString = "\r[%{level:.6s}] %{message}"
fmtString = "[%{level:.6s}] %{message}"
} else {
fmtString = "\r%{color}[%{time:06-01-02 15:04:05}][%{level:.6s}]%{color:reset} %{message}"
fmtString = "%{color}[%{time:06-01-02 15:04:05}][%{level:.6s}][%{shortfile}]%{color:reset} %{message}"
}
format := logging.MustStringFormatter(fmtString)
logging.SetFormatter(format)