commit | 26cd6e34fd003207730935d4d45acf009be6c89b | [log] [tgz] |
---|---|---|
author | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Oct 05 13:10:58 2012 -0700 |
committer | Zhenkai Zhu <zhenkai@cs.ucla.edu> | Fri Oct 05 13:10:58 2012 -0700 |
tree | 97e25066810e8e4f5ba94003df79bb363a01b245 | |
parent | 5548c049b87863bd64ae1b08157e144f0e766586 [diff] [blame] |
try to reconnect when ccnd stops
diff --git a/include/sync-log.h b/include/sync-log.h index 9ab4843..ef84e75 100644 --- a/include/sync-log.h +++ b/include/sync-log.h
@@ -42,6 +42,9 @@ #define _LOG_FUNCTION_NOARGS \ LOG4CXX_TRACE(staticModuleLogger, __FUNCTION__ << "()"); +#define _LOG_ERROR(x) \ + LOG4CXX_ERROR(staticModuleLogger, x); + void INIT_LOGGERS (); @@ -52,6 +55,7 @@ #define _LOG_FUNCTION_NOARGS #define _LOG_TRACE(x) #define INIT_LOGGERS(x) +#define _LOG_ERROR(x) #ifdef _DEBUG