Commit 71ec4d6e authored by bcoudurier's avatar bcoudurier

always use stdout to log when running in debug mode

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13846 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2dba639c
...@@ -3791,7 +3791,8 @@ static int parse_ffconfig(const char *filename) ...@@ -3791,7 +3791,8 @@ static int parse_ffconfig(const char *filename)
} else } else
max_bandwidth = llval; max_bandwidth = llval;
} else if (!strcasecmp(cmd, "CustomLog")) { } else if (!strcasecmp(cmd, "CustomLog")) {
get_arg(logfilename, sizeof(logfilename), &p); if (!ffserver_debug)
get_arg(logfilename, sizeof(logfilename), &p);
} else if (!strcasecmp(cmd, "<Feed")) { } else if (!strcasecmp(cmd, "<Feed")) {
/*********************************************/ /*********************************************/
/* Feed related options */ /* Feed related options */
...@@ -4392,6 +4393,7 @@ static void opt_debug() ...@@ -4392,6 +4393,7 @@ static void opt_debug()
{ {
ffserver_debug = 1; ffserver_debug = 1;
ffserver_daemon = 0; ffserver_daemon = 0;
logfilename[0] = '-';
} }
static void opt_show_help(void) static void opt_show_help(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment