]> 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:25:35 +0000 (02:25 +0000)
committerMark Andrews <marka@isc.org>
Wed, 1 Mar 2006 02:25:35 +0000 (02:25 +0000)
                        after the timestamp if "print-time yes" was specified.
                        [RT #15844]

CHANGES
lib/isc/log.c

diff --git a/CHANGES b/CHANGES
index efba7ea74f24d6504f9f2d3ae4b08554f7e800c9..32f462fa27268d5e9cb44f6056ceb19c034ec79a 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]
+
 1991.  [cleanup]       The configuration data, once read, should be treated
                        as readonly.  Expand the use of const to enforce this
                        at compile time. [RT #15813]
index 247b25339d2696216b2be37211b7269da7d44d15..98afcdb229a3578a18ddba10233b425860ef50a6 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: log.c,v 1.70.2.8.2.12 2004/06/11 00:35:38 marka Exp $ */
+/* $Id: log.c,v 1.70.2.8.2.13 2006/03/01 02:25:35 marka Exp $ */
 
 /* Principal Authors: DCL */
 
@@ -1728,8 +1728,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   : "",