From 138c37a6d6a0899a04155c6065300a6e99343e87 Mon Sep 17 00:00:00 2001 From: oetiker Date: Sat, 10 Jul 2010 10:21:54 +0000 Subject: [PATCH] print \n for log messages while runing rrdcached in the foreground ... suggested by Bernard Li git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4/program@2115 a5681a0c-68f1-0310-ab6d-d61299d08faa --- src/rrd_daemon.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c index 3697a4a..93ed71c 100644 --- a/src/rrd_daemon.c +++ b/src/rrd_daemon.c @@ -114,8 +114,9 @@ #define RRDD_LOG(severity, ...) \ do { \ - if (stay_foreground) \ + if (stay_foreground) { \ fprintf(stderr, __VA_ARGS__); \ + fprintf(stderr, "\n"); } \ syslog ((severity), __VA_ARGS__); \ } while (0) -- 2.30.2