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
4ddb5256ac
commit
d94b9f44b3
10 changed files with 76 additions and 10 deletions
|
@ -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 += "-";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue