]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1993. [bug] Log messsage, via syslog, were missing the space
authorMark Andrews <marka@isc.org>
Wed, 1 Mar 2006 02:20:41 +0000 (02:20 +0000)
committerMark Andrews <marka@isc.org>
Wed, 1 Mar 2006 02:20:41 +0000 (02:20 +0000)
                        after the timestamp if "print-time yes" was specified.
                        [RT #15844]

CHANGES
lib/isc/log.c

diff --git a/CHANGES b/CHANGES
index ac6c13eb23ce5b5e3d3839e7eaeff013ab19fd4b..530b30c1603eeccd230f71289ef1c055c26acd16 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,7 @@
+1993.  [bug]           Log messsage, via syslog, were missing the space
+                       after the timestamp if "print-time yes" was specified.
+                       [RT #15844]
+
 1992.  [bug]           Not all incoming zone transfer messages included the
                        view.  [RT #15825]
 
index 998156aeb054c7c71b2cffb3b500ac3d15aa9e2e..dbbb43a70dcf080c12d2ecc08595de389721dc49 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.90 2005/07/12 01:00:17 marka Exp $ */
+/* $Id: log.c,v 1.91 2006/03/01 02:20:41 marka Exp $ */
 
 /*! \file
  * \author  Principal Authors: DCL */
@@ -1735,8 +1735,9 @@ isc_log_doit(isc_log_t *lctx, isc_logcategory_t *category,
                                syslog_level = syslog_map[-level];
 
                        (void)syslog(FACILITY(channel) | syslog_level,
-                              "%s%s%s%s%s%s%s%s%s",
+                              "%s%s%s%s%s%s%s%s%s%s",
                               printtime     ? time_string      : "",
+                              printtime     ? " "              : "",
                               printtag      ? lcfg->tag        : "",
                               printtag      ? ": "             : "",
                               printcategory ? category->name   : "",