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

refine log, log important to file. 1.0.210

This commit is contained in:
winlin 2014-08-29 15:07:04 +08:00
parent 728b749384
commit 901c9590e4
4 changed files with 11 additions and 4 deletions

View file

@ -1086,6 +1086,11 @@ int SrsConfig::parse_options(int argc, char** argv)
return ret;
}
string SrsConfig::config()
{
return config_file;
}
int SrsConfig::parse_argv(int& i, char** argv)
{
int ret = ERROR_SUCCESS;
@ -1564,9 +1569,6 @@ int SrsConfig::check_config()
}
}
// show important args.
srs_trace("conf: %s, limit: %d", config_file.c_str(), get_max_connections());
////////////////////////////////////////////////////////////////////////
// check features
////////////////////////////////////////////////////////////////////////