diff --git a/ffserver.c b/ffserver.c index de447288a4..cec0e82425 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3791,7 +3791,8 @@ static int parse_ffconfig(const char *filename) } else max_bandwidth = llval; } else if (!strcasecmp(cmd, "CustomLog")) { - get_arg(logfilename, sizeof(logfilename), &p); + if (!ffserver_debug) + get_arg(logfilename, sizeof(logfilename), &p); } else if (!strcasecmp(cmd, "