mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Config: Support better env name for prefixed with srs (#3370)
* Actions: Fix github action warnings. * Forward: Bind the context id of source or stream. * Config: Support better env names. Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com> Co-authored-by: Haibo Chen <495810242@qq.com>
This commit is contained in:
parent
920d492942
commit
a4e7427433
7 changed files with 52 additions and 12 deletions
|
@ -36,7 +36,7 @@ ff_log_level info;
|
|||
# if console, print log to console.
|
||||
# if file, write log to file. requires srs_log_file if log to file.
|
||||
# Note: Do not support reloading, for SRS5+
|
||||
# Overwrite by env SRS_SRS_LOG_TANK
|
||||
# Overwrite by env SRS_LOG_TANK or SRS_SRS_LOG_TANK
|
||||
# default: file.
|
||||
srs_log_tank console;
|
||||
# The log level for logging to console or file. It can be:
|
||||
|
@ -46,7 +46,7 @@ srs_log_tank console;
|
|||
# If configure --log-level_v2=on, use SRS 5.0 level specs which is v2, the level text is:
|
||||
# TRACE, DEBUG, INFO, WARN, ERROR
|
||||
# Note: Do not support reloading, for SRS5+
|
||||
# Overwrite by env SRS_SRS_LOG_LEVEL
|
||||
# Overwrite by env SRS_LOG_LEVEL or SRS_SRS_LOG_LEVEL
|
||||
# default: trace
|
||||
srs_log_level trace;
|
||||
# The log level v2, rewrite the config srs_log_level if not empty, it can be:
|
||||
|
@ -55,11 +55,11 @@ srs_log_level trace;
|
|||
# Verb, Info, Trace, Warn, Error
|
||||
# If configure --log-level_v2=on, use SRS 5.0 level specs which is v2, the level text is:
|
||||
# TRACE, DEBUG, INFO, WARN, ERROR
|
||||
# Overwrite by env SRS_SRS_LOG_LEVEL_V2
|
||||
# Overwrite by env SRS_LOG_LEVEL_V2 or SRS_SRS_LOG_LEVEL_V2
|
||||
srs_log_level_v2 info;
|
||||
# when srs_log_tank is file, specifies the log file.
|
||||
# Note: Do not support reloading, for SRS5+
|
||||
# Overwrite by env SRS_SRS_LOG_FILE
|
||||
# Overwrite by env SRS_LOG_FILE or SRS_SRS_LOG_FILE
|
||||
# default: ./objs/srs.log
|
||||
srs_log_file ./objs/srs.log;
|
||||
# the max connections.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue