From 16f2ef24d6047c76d222d1587869102d1bcccca2 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Sun, 17 Jul 2011 02:24:29 +0200 Subject: [PATCH] Do not use log4cxx in signal handlers --- src/networkpluginserver.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/networkpluginserver.cpp b/src/networkpluginserver.cpp index 978cb607..210faf48 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"); } } }