Parcourir la source

[master] added changelog entry for #1697

JINMEI Tatuya il y a 13 ans
Parent
commit
fa862e7d12
2 fichiers modifiés avec 11 ajouts et 1 suppressions
  1. 7 0
      ChangeLog
  2. 4 1
      src/bin/auth/main.cc

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+391.	[func]*		jinmei
+	libdns++: revised the (Abstract)MessageRenderer class so that it
+	has a default internal buffer and the buffer can be temporarily
+	switched.  The constructor interface was modified, and a new
+	method setBuffer() was added.
+	(Trac #1697, git 9cabc799f2bf9a3579dae7f1f5d5467c8bb1aa40)
+
 bind10-devel-20120301 released on March 1, 2012
 
 390.	[bug]		vorner

+ 4 - 1
src/bin/auth/main.cc

@@ -25,6 +25,8 @@
 #include <cassert>
 #include <iostream>
 
+#include <boost/lexical_cast.hpp>
+
 #include <exceptions/exceptions.h>
 
 #include <util/buffer.h>
@@ -116,7 +118,8 @@ main(int argc, char* argv[]) {
     }
 
     // Initialize logging.  If verbose, we'll use maximum verbosity.
-    isc::log::initLogger(AUTH_NAME,
+    isc::log::initLogger(string(AUTH_NAME) + " (" +
+                         boost::lexical_cast<string>(getpid()) + ")",
                          (verbose ? isc::log::DEBUG : isc::log::INFO),
                          isc::log::MAX_DEBUG_LEVEL, NULL);