From 97618d8c4f7caa0c299c82eb7cf0252304cbd19c Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 10 Dec 2007 21:09:48 +0000 Subject: [PATCH] Force logging to stderr if the -f flag is specified. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1491 fd59a12c-fef9-0310-b244-a6a79926bd2f --- exec/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/exec/main.c b/exec/main.c index 627eabf0..e5d6c300 100644 --- a/exec/main.c +++ b/exec/main.c @@ -454,6 +454,7 @@ int main (int argc, char **argv) switch (ch) { case 'f': background = 0; + logsys_config_mode_set (LOG_MODE_OUTPUT_STDERR|LOG_MODE_FLUSH_AFTER_CONFIG); break; case 'p': setprio = 0;