From: oetiker Date: Sat, 10 Jul 2010 10:21:54 +0000 (+0000) Subject: print \n for log messages while runing rrdcached in the foreground ... suggested... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;ds=sidebyside;h=3d00c58bd2fa90632921717d9cf357dbcf6db8a6;p=rrdtool-all.git print \n for log messages while runing rrdcached in the foreground ... suggested by Bernard Li git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2115 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index 4c3d7ed4..a3e03684 100644 --- a/program/src/rrd_daemon.c +++ b/program/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)