소스 검색

HPCC-15286 Improve eclccserver tracing

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 년 전
부모
커밋
1b68997a7c
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 5
      ecl/eclccserver/eclccserver.cpp

+ 1 - 5
ecl/eclccserver/eclccserver.cpp

@@ -31,7 +31,6 @@
 #include <dllserver.hpp>
 #include <thorplugin.hpp>
 
-static unsigned traceLevel;
 static StringAttr dllPath;
 Owned<IPropertyTree> globals;
 
@@ -451,8 +450,7 @@ public:
     }
     virtual void main()
     {
-        if (traceLevel)
-            DBGLOG("Compile request processing for workunit %s", wuid.get());
+        DBGLOG("Compile request processing for workunit %s", wuid.get());
         Owned<IWorkUnitFactory> factory = getWorkUnitFactory();
         workunit.setown(factory->updateWorkUnit(wuid.get()));
         if (!workunit)
@@ -697,8 +695,6 @@ void openLogFile()
     envGetConfigurationDirectory("log","eclccserver",globals->queryProp("@name"),logname);
     Owned<IComponentLogFileCreator> lf = createComponentLogFileCreator(logname.str(), "eclccserver");
     lf->beginLogging();
-    if (traceLevel)
-        PROGLOG("Logging to %s", lf->queryAliasFileSpec());
 }
 
 //=========================================================================================