Jelajahi Sumber

HPCC-15286 Improve eclccserver tracing

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Richard Chapman 9 tahun lalu
induk
melakukan
1b68997a7c
1 mengubah file dengan 1 tambahan dan 5 penghapusan
  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());
 }
 
 //=========================================================================================