mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Default to log to console for docker. v4.0.168
This commit is contained in:
parent
4c087b9376
commit
55d8cb4b7b
7 changed files with 21 additions and 24 deletions
|
@ -6629,9 +6629,15 @@ string SrsConfig::get_ingest_input_url(SrsConfDirective* conf)
|
|||
return conf->arg0();
|
||||
}
|
||||
|
||||
extern bool _srs_in_docker;
|
||||
|
||||
bool SrsConfig::get_log_tank_file()
|
||||
{
|
||||
static bool DEFAULT = true;
|
||||
|
||||
if (_srs_in_docker) {
|
||||
DEFAULT = false;
|
||||
}
|
||||
|
||||
SrsConfDirective* conf = root->get("srs_log_tank");
|
||||
if (!conf || conf->arg0().empty()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue