1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

default write log to file.

This commit is contained in:
winlin 2014-03-23 14:51:35 +08:00
parent 76290a5a12
commit ed20bd7078
3 changed files with 12 additions and 10 deletions

View file

@ -21,8 +21,10 @@ ff_log_dir ./objs/logs;
# the log tank, console or file.
# if console, print log to console.
# if file, write log to file. requires srs_log_file if log to file.
# default: console.
srs_log_tank console;
# default: file.
srs_log_tank file;
# when srs_log_tank is file, specifies the log file.
# default: ./objs/srs.log
srs_log_file ./objs/srs.log;
# the max connections.
# if exceed the max connections, server will drop the new connection.