mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Merge branch '3.0release' into 4.0release
This commit is contained in:
commit
adadbb7e9c
4 changed files with 10 additions and 11 deletions
|
@ -1987,9 +1987,8 @@ srs_error_t SrsConfig::parse_options(int argc, char** argv)
|
|||
return srs_error_new(ERROR_SYSTEM_CONFIG_INVALID, "no log file");
|
||||
}
|
||||
if (get_log_tank_file()) {
|
||||
srs_trace("write log to file %s", log_filename.c_str());
|
||||
srs_trace("you can: tailf %s", log_filename.c_str());
|
||||
srs_trace("@see: %s", SRS_WIKI_URL_LOG);
|
||||
srs_trace("you can check log by: tail -f %s (@see %s)", log_filename.c_str(), SRS_WIKI_URL_LOG);
|
||||
srs_trace("please check SRS by: ./etc/init.d/srs status");
|
||||
} else {
|
||||
srs_trace("write log to console");
|
||||
}
|
||||
|
@ -3730,9 +3729,8 @@ srs_error_t SrsConfig::check_normal_config()
|
|||
return srs_error_new(ERROR_SYSTEM_CONFIG_INVALID, "log file is empty");
|
||||
}
|
||||
if (get_log_tank_file()) {
|
||||
srs_trace("write log to file %s", log_filename.c_str());
|
||||
srs_trace("you can: tailf %s", log_filename.c_str());
|
||||
srs_trace("@see: %s", SRS_WIKI_URL_LOG);
|
||||
srs_trace("you can check log by: tail -f %s (@see %s)", log_filename.c_str(), SRS_WIKI_URL_LOG);
|
||||
srs_trace("please check SRS by: ./etc/init.d/srs status");
|
||||
} else {
|
||||
srs_trace("write log to console");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue