From 56679b3c82a76d3cd4949d41b4dccc8b0f7ce6d2 Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 23 Mar 2014 12:22:01 +0800 Subject: [PATCH] add srs_log_file to write log to file. change to 0.9.27 --- trunk/src/app/srs_app_config.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/trunk/src/app/srs_app_config.cpp b/trunk/src/app/srs_app_config.cpp index 353195c4e..a73e877bd 100644 --- a/trunk/src/app/srs_app_config.cpp +++ b/trunk/src/app/srs_app_config.cpp @@ -684,9 +684,9 @@ int SrsConfig::parse_file(const char* filename) // TODO: check http. // TODO: check pid. - std::string filename = this->get_srs_log_file(); - if (!filename.empty()) { - srs_trace("open log file %s and write to", filename.c_str()); + std::string log_filename = this->get_srs_log_file(); + if (!log_filename.empty()) { + srs_trace("open log file %s and write to", log_filename.c_str()); } return ret;