Changeset - 16f2ef24d604
[Not reviewed]
0 1 0
HanzZ - 14 years ago 2011-07-17 02:24:29
hanzz.k@gmail.com
Do not use log4cxx in signal handlers
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/networkpluginserver.cpp
Show inline comments
 
@@ -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");
 
			}
 
		}
 
	}
0 comments (0 inline, 0 general)