Code

print \n for log messages while runing rrdcached in the foreground ... suggested...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 10 Jul 2010 10:21:54 +0000 (10:21 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Sat, 10 Jul 2010 10:21:54 +0000 (10:21 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2115 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/src/rrd_daemon.c

index 3697a4aec75b95ac0ce96dd4b243a47dd1a9c9a0..93ed71cfa1400b0dd0d72c326e430a7a64411bab 100644 (file)
 
 #define RRDD_LOG(severity, ...) \
   do { \
-    if (stay_foreground) \
+    if (stay_foreground) \
       fprintf(stderr, __VA_ARGS__); \
+      fprintf(stderr, "\n"); } \
     syslog ((severity), __VA_ARGS__); \
   } while (0)