From 41451f6a93ce62a9176461089daae20e754b9e19 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Sun, 23 Apr 2023 14:30:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8D=E4=BF=9D=E5=AD=98?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E6=96=87=E4=BB=B6=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.cpp b/server/main.cpp index 58b6043a..9a190935 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -212,7 +212,7 @@ int start_main(int argc,char *argv[]) { //设置日志 Logger::Instance().add(std::make_shared("ConsoleChannel", logLevel)); -#if defined(ANDROID) +#if !defined(ANDROID) auto fileChannel = std::make_shared("FileChannel", exeDir() + "log/", logLevel); // 日志最多保存天数 fileChannel->setMaxDay(cmd_main["max_day"]);