Correction of test-ccnx-wrapper. Small logging changes in executor
diff --git a/src/logging.h b/src/logging.h
index 849d2e8..78d0eea 100644
--- a/src/logging.h
+++ b/src/logging.h
@@ -28,6 +28,12 @@
#include <log4cxx/logger.h>
+#define MEMBER_LOGGER \
+ static log4cxx::LoggerPtr staticModuleLogger;
+
+#define INIT_MEMBER_LOGGER(className,name) \
+ log4cxx::LoggerPtr className::staticModuleLogger = log4cxx::Logger::getLogger (name);
+
#define INIT_LOGGER(name) \
static log4cxx::LoggerPtr staticModuleLogger = log4cxx::Logger::getLogger (name);
@@ -66,6 +72,9 @@
#define _LOG_ERROR_COND(cond,x)
#define _LOG_DEBUG_COND(cond,x)
+#define MEMBER_LOGGER
+#define INIT_MEMBER_LOGGER(className,name)
+
#ifdef _DEBUG
#include <boost/thread/thread.hpp>