mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add srs_log_file to write log to file. change to 0.9.27
This commit is contained in:
parent
d94b9f44b3
commit
56679b3c82
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue