1
0
Fork 0
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:
winlin 2014-03-23 12:21:36 +08:00
parent 4ddb5256ac
commit d94b9f44b3
10 changed files with 76 additions and 10 deletions

View file

@ -118,7 +118,7 @@ int SrsFFMPEG::initialize(SrsRequest* req, SrsConfDirective* engine)
output = srs_replace(output, "[engine]", engine->arg0());
// write ffmpeg info to log file.
log_file = _srs_config->get_log_dir();
log_file = _srs_config->get_ffmpeg_log_dir();
log_file += "/";
log_file += "encoder";
log_file += "-";