From a22ece4ed73928bb129d1e072e45c0061f5e7c78 Mon Sep 17 00:00:00 2001 From: iamhujiebin <458249864@qq.com> Date: Tue, 31 Oct 2023 21:03:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E6=8E=89stderr=E7=9A=84=E9=87=8D?= =?UTF-8?q?=E5=AE=9A=E5=90=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/mylogrus/log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/mylogrus/log.go b/common/mylogrus/log.go index 7f19814..7901970 100644 --- a/common/mylogrus/log.go +++ b/common/mylogrus/log.go @@ -24,7 +24,7 @@ func init() { filenamePrefix = logDir + filepath.Base(os.Args[0]) + "." // stderr日志重定向 MyLog.SetOutput(os.Stdout) - RewriteStderrFile() + //RewriteStderrFile() if config.AppIsRelease() { MyLog.SetFormatter(&logrus.JSONFormatter{ -- 2.22.0