From 6a601227d691b8c1b6a213607c7ca6cf15d96e08 Mon Sep 17 00:00:00 2001 From: cxh Date: Wed, 17 Dec 2025 17:27:52 +0800 Subject: [PATCH] 1 --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8ccec5a..206d59d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -33,7 +33,7 @@ int main() signal(SIGPIPE, SIG_IGN); // ---------- 日志 ---------- - Logger::init(get_executable_dir_file_path("logs"), 7); + Logger::set_log_to_file(get_executable_dir_file_path("app.log")); LOG_INFO("[MAIN] ===== Video RTMP Publisher Starting ====="); // ---------- 配置 ----------