From ac9749a24027e1fe79b2aae68f6027cb5847aef0 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Wed, 24 Nov 2021 09:03:07 +0100 Subject: [PATCH] Minor, slight improvement in debug output Signed-off-by: Joachim Wiberg --- src/syslogd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/syslogd.c b/src/syslogd.c index 12c8a6c..a4c00bc 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -1579,7 +1579,7 @@ void fprintlog_write(struct filed *f, struct iovec *iov, int iovcnt, int flags) msg.msg_iovlen = iovcnt; for (int i = 0; i < iovcnt; i++) { - logit("iov[%d] => %s\n", i, (char *)iov[i].iov_base); +// logit("iov[%d] => %s\n", i, (char *)iov[i].iov_base); len += iov[i].iov_len; } @@ -1838,7 +1838,7 @@ static void fprintlog_first(struct filed *f, struct buf_msg *buffer) else iovcnt = fmt3164(buffer, BSDFMT_DATEFMT, iov, NELEMS(iov)); - logit("logging to %s", TypeNames[f->f_type]); + logit(" logging to %s", TypeNames[f->f_type]); fprintlog_write(f, iov, iovcnt, buffer->flags); }