]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/ITSSPDPHYSda.cxx
cleanup
[u/mrichter/AliRoot.git] / ITS / ITSSPDPHYSda.cxx
index 5ebf3a4c7ed776c32a731a1cd3366a2c97b1e99d..2ed9a18cd8cfac8d692df24e640ea048d543ac1d 100644 (file)
@@ -97,9 +97,9 @@ int main(int argc, char **argv) {
                                        "TStreamerInfo()");
 
   // turn off annoying warning messages
-  new AliLog;
-  AliLog::Instance()->SetGlobalDebugLevel(-20);
-
+  // NB: Should not be handled here
+  AliLog* logger = AliLog::GetRootLogger();
+  logger->SetGlobalDebugLevel(-20);
 
   // ********* STEP 0: Get configuration files from db (if there are any) , then read parameters*********
   UInt_t nrTuningParams = 0;