From 16f2ef24d6047c76d222d1587869102d1bcccca2 2011-07-17 02:24:29 From: HanzZ Date: 2011-07-17 02:24:29 Subject: [PATCH] Do not use log4cxx in signal handlers --- diff --git a/src/networkpluginserver.cpp b/src/networkpluginserver.cpp index 978cb607594461c99884b91bced3ddb77907b663..210faf486e2e9adc668643d1098a934a64d958fb 100644 --- a/src/networkpluginserver.cpp +++ b/src/networkpluginserver.cpp @@ -112,11 +112,11 @@ static void SigCatcher(int n) { if (result != 0) { if (WIFEXITED(status)) { if (WEXITSTATUS(status) != 0) { - LOG4CXX_ERROR(logger, "Backend can not be started, exit_code=" << WEXITSTATUS(status)); +// LOG4CXX_ERROR(logger, "Backend can not be started, exit_code=" << WEXITSTATUS(status)); } } else { - LOG4CXX_ERROR(logger, "Backend can not be started"); +// LOG4CXX_ERROR(logger, "Backend can not be started"); } } }