diff --git a/server/main.cpp b/server/main.cpp index bb972bfb..3dc74243 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -194,8 +194,6 @@ int start_main(int argc,char *argv[]) { string ssl_file = cmd_main["ssl"]; int threads = cmd_main["threads"]; - setThreadName("main thread"); - //设置日志 Logger::Instance().add(std::make_shared("ConsoleChannel", logLevel)); #ifndef ANDROID