]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/rec/AliHLTDynamicAliLog.cxx
removing deprecated classes from repository
[u/mrichter/AliRoot.git] / HLT / rec / AliHLTDynamicAliLog.cxx
index 5ae47775ac45ed34d1cb43486530843fcd47d6bd..a374e9d739dccddd4bbde89481da48f6aac696b9 100644 (file)
@@ -117,7 +117,7 @@ extern "C" int AliDynamicMessage(AliHLTComponentLogSeverity severity,
     AliLog::Message(AliLog::kInfo, message, "HLT", originClass, originFunc, file, line);
     break;
   default:
-    break;
+    AliLog::Message(AliLog::kInfo, message, "HLT", originClass?originClass:"AliHLT", originFunc, file, line);
   }
   return 0;
 }
@@ -134,7 +134,11 @@ extern "C" int InitAliDynamicMessageCallback()
   // older versions of AliLog does not support the notification callback and
   // stringstreams, but they support the logging macros in general
 #ifndef NO_ALILOG_NOTIFICATION
+#ifndef NO_ALILOG_GETROOTLOGGER
   AliLog* log = AliLog::GetRootLogger();
+#else
+  AliLog* log = new AliLog;
+#endif //NO_ALILOG_GETROOTLOGGER
   log->SetLogNotification(LogNotification);
   log->SetStreamOutput(&AliHLTLogging::fgLogstr);
   log->SetPrintScope(true);