Commit 7cf0d504 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[2445] Fix includes for log4cplus-1.1.0

parent ad7b9646
......@@ -18,6 +18,7 @@
#include <exceptions/exceptions.h>
#include <log4cplus/logger.h>
#include <log4cplus/spi/loggingevent.h>
#include <boost/scoped_ptr.hpp>
namespace isc {
......
......@@ -20,6 +20,7 @@
#include <log/log_messages.h>
#include <log/log_buffer.h>
#include <log4cplus/loggingmacros.h>
#include <log4cplus/logger.h>
#include <log4cplus/nullappender.h>
......@@ -40,7 +41,8 @@ public:
~LogBufferTest() {
// If any log messages are left, we don't care, get rid of them,
// by flushing them to a null appender
log4cplus::SharedAppenderPtr null_appender(new log4cplus::NullAppender());
log4cplus::SharedAppenderPtr null_appender(
new log4cplus::NullAppender());
logger.removeAllAppenders();
logger.addAppender(null_appender);
buffer1.flush();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment