From fd6ec4ba3818b25f6a13a0a662958dd7608a290d Mon Sep 17 00:00:00 2001 From: Granty1 Date: Mon, 6 Apr 2020 08:40:36 +0800 Subject: [PATCH] Remove useless notes --- server/core/log.go | 1 - 1 file changed, 1 deletion(-) diff --git a/server/core/log.go b/server/core/log.go index cde1be8c..b99a68a6 100644 --- a/server/core/log.go +++ b/server/core/log.go @@ -56,7 +56,6 @@ func registerFile(c config.Log, backends []oplogging.Backend) []oplogging.Backen fmt.Println("create log directory") _ = os.Mkdir(logDir, os.ModePerm) } - //apiLogPath := logSoftLink fileWriter, err := rotatelogs.New( logDir+string(os.PathSeparator)+"%Y-%m-%d-%H-%M.log", // generate soft link, point to latest log file