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

@ -17,7 +17,11 @@ chunk_size 60000;
# the logs dir.
# if enabled ffmpeg, each stracoding stream will create a log file.
# default: ./objs/logs
log_dir ./objs/logs;
ff_log_dir ./objs/logs;
# the log file for srs.
# if not specified, disable log to file, only print to console.
# if speicfied, write log to file and print to console.
srs_log_file ./objs/srs.log;
# the max connections.
# if exceed the max connections, server will drop the new connection.
# default: 2000

View file

@ -2,5 +2,6 @@
# @see full.conf for detail config.
listen 1935;
srs_log_file ./objs/srs.log;
vhost __defaultVhost__ {
}