diff --git a/plugin/cpp/networkplugin.cpp b/plugin/cpp/networkplugin.cpp index 1b7f448c12198bf9d2c622194b873e1d12e149a6..179b2f0829ad7a9cb782b3971fcd7851b7ae6993 100644 --- a/plugin/cpp/networkplugin.cpp +++ b/plugin/cpp/networkplugin.cpp @@ -19,9 +19,10 @@ */ #include "transport/networkplugin.h" -#include "log4cxx/logger.h" -#include "log4cxx/basicconfigurator.h" #include "transport/memoryusage.h" +#include "transport/logging.h" + +#include #ifndef WIN32 #include @@ -32,9 +33,7 @@ #define getpid _getpid #endif -using namespace log4cxx; - -static LoggerPtr logger = Logger::getLogger("NetworkPlugin"); +DEFINE_LOGGER(logger, "NetworkPlugin"); namespace Transport {