浏览代码

HPCC-10822 Excessive tracing from epoll code

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 11 年之前
父节点
当前提交
53aec8856b
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      system/jlib/jsocket.cpp

+ 1 - 2
system/jlib/jsocket.cpp

@@ -74,7 +74,6 @@
 # ifdef _HAS_EPOLL_SUPPORT
 #  include <unistd.h>
 #  include <sys/epoll.h>
-//#  define EPOLLTRACE
 #  ifndef EPOLLRDHUP
 //  Centos 5.x bug - epoll.h does not define but its in the kernel
 #   define EPOLLRDHUP 0x2000
@@ -4312,7 +4311,7 @@ public:
           LOGERR(err,1,"epoll_create()");
           THROWJSOCKEXCEPTION2(err);
         }
-# if defined(_DEBUG) || defined(EPOLLTRACE)
+# ifdef EPOLLTRACE
         DBGLOG("CSocketEpollThread: creating epoll fd %d", epfd );
 # endif
         try {