[bind10-dev] in order to build bind10-20120517 against log4cplus-1.1.0-rc5
John Lumby
jlumby at bluecatnetworks.com
Wed Jun 6 12:35:29 UTC 2012
I had to patch a few files for minor interface changes :
John
--- src/lib/log/logger_impl.cc.orig 2011-11-02 09:46:32.000000000 -0400
+++ src/lib/log/logger_impl.cc 2012-06-05 12:59:12.716099530 -0400
@@ -22,6 +22,7 @@
#include <boost/static_assert.hpp>
#include <log4cplus/configurator.h>
+#include <log4cplus/loggingmacros.h>
#include <log/logger.h>
#include <log/logger_impl.h>
--- src/lib/log/logger_level_impl.cc.orig 2011-11-02 09:46:32.000000000 -0400
+++ src/lib/log/logger_level_impl.cc 2012-06-05 15:17:06.452296171 -0400
@@ -185,7 +185,7 @@ LoggerLevelImpl::logLevelFromString(cons
// Convert logging level to string. If the level is a valid debug level,
// return the string DEBUG, else return the empty string.
-log4cplus::tstring
+log4cplus::tstring const &
LoggerLevelImpl::logLevelToString(log4cplus::LogLevel level) {
Level bindlevel = convertToBindLevel(level);
Severity& severity = bindlevel.severity;
--- src/lib/log/logger_level_impl.h.orig 2012-03-19 14:55:01.000000000 -0400
+++ src/lib/log/logger_level_impl.h 2012-06-05 15:21:00.004301737 -0400
@@ -112,7 +112,7 @@ public:
/// \param level Extended logging level
///
/// \return Equivalent string.
- static log4cplus::tstring logLevelToString(log4cplus::LogLevel level);
+ static log4cplus::tstring const & logLevelToString(log4cplus::LogLevel level);
/// \brief Initialize extended logging levels
///
--- src/lib/log/logger_manager_impl.cc.orig 2012-05-08 12:55:34.000000000 -0400
+++ src/lib/log/logger_manager_impl.cc 2012-06-05 15:27:38.864311183 -0400
@@ -17,6 +17,7 @@
#include <log4cplus/logger.h>
#include <log4cplus/configurator.h>
+#include <log4cplus/hierarchy.h>
#include <log4cplus/consoleappender.h>
#include <log4cplus/fileappender.h>
#include <log4cplus/syslogappender.h>
More information about the bind10-dev
mailing list