}
TString logOpt = logLevel;
- if (logOpt.CompareTo("normal", TString::kIgnoreCase) != 0)
+ if (logOpt.CompareTo("normal", TString::kIgnoreCase) == 0)
{
// nothing to do.
}
- else if (logOpt.CompareTo("max", TString::kIgnoreCase) != 0)
+ else if (logOpt.CompareTo("max", TString::kIgnoreCase) == 0)
{
maxLogging = true;
}
- else if (logOpt.CompareTo("min", TString::kIgnoreCase) != 0)
+ else if (logOpt.CompareTo("min", TString::kIgnoreCase) == 0)
{
minLogging = true;
}
// Now we can initialise the AliHLTSystem...
AliHLTSystem sys;
- sys.LoadComponentLibraries("libAliHLTMUON.so");
// Start by setting up the logging.
if (maxLogging)
{
sys.SetGlobalLoggingLevel(kHLTLogError);
}
+
+ sys.LoadComponentLibraries("libAliHLTMUON.so");
// The DDL file publishers are only needed if we create the ddlreco or
// full chains. The filename lists are built assuming the aliroot rawXX/