From e642a402a0780a985461df8794175d45683736e7 Mon Sep 17 00:00:00 2001 From: richterm Date: Fri, 9 Nov 2007 09:17:04 +0000 Subject: [PATCH] bubgfix: skip configurations fram agent if config file was specified; SetFrameworkLog made public; suppress error in Task class --- HLT/BASE/AliHLTSystem.cxx | 2 +- HLT/BASE/AliHLTSystem.h | 16 ++++++++-------- HLT/BASE/AliHLTTask.cxx | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/HLT/BASE/AliHLTSystem.cxx b/HLT/BASE/AliHLTSystem.cxx index 47641e4bc48..4aea57cbb43 100644 --- a/HLT/BASE/AliHLTSystem.cxx +++ b/HLT/BASE/AliHLTSystem.cxx @@ -697,7 +697,7 @@ int AliHLTSystem::Configure(AliRawReader* rawReader, AliRunLoader* runloader) HLTError("HLT system in running state, can not configure"); return -EBUSY; } - ClearStatusFlags(kConfigurationLoaded|kTaskListCreated); + ClearStatusFlags(kTaskListCreated); if (CheckFilter(kHLTLogDebug)) AliHLTModuleAgent::PrintStatus(); if (CheckStatus(kConfigurationLoaded)==0) { diff --git a/HLT/BASE/AliHLTSystem.h b/HLT/BASE/AliHLTSystem.h index 5339a7e7424..9ec82d99b41 100644 --- a/HLT/BASE/AliHLTSystem.h +++ b/HLT/BASE/AliHLTSystem.h @@ -364,6 +364,14 @@ class AliHLTSystem : public AliHLTLogging { */ int GetStatusFlags(); + /** + * Set logging level for framework classes. + * This sets the local logging level of this instance and all subsequent + * framework classes to \em level. + * @param level local logging level for the framework classes + */ + void SetFrameworkLog(AliHLTComponentLogSeverity level); + protected: private: @@ -382,14 +390,6 @@ class AliHLTSystem : public AliHLTLogging { */ int ClearStatusFlags(int flags); - /** - * Set logging level for framework classes. - * This sets the local logging level of this instance and all subsequent - * framework classes to \em level. - * @param level local logging level for the framework classes - */ - void SetFrameworkLog(AliHLTComponentLogSeverity level); - /* TList fConfList; */ /* int fbListChanged; */ diff --git a/HLT/BASE/AliHLTTask.cxx b/HLT/BASE/AliHLTTask.cxx index 2b01aa3dc91..6a57a3476be 100644 --- a/HLT/BASE/AliHLTTask.cxx +++ b/HLT/BASE/AliHLTTask.cxx @@ -115,7 +115,7 @@ int AliHLTTask::Init(AliHLTConfiguration* pConf, AliHLTComponentHandler* pCH) if (fpComponent || iResult<=0) { //HLTDebug("component %s (%p) created", fpComponent->GetComponentID(), fpComponent); } else { - HLTError("can not find component \"%s\" (%d)", fpConfiguration->GetComponentID(), iResult); + //HLTError("can not find component \"%s\" (%d)", fpConfiguration->GetComponentID(), iResult); } } else { HLTError("can not get argument list for configuration %s (%s)", fpConfiguration->GetName(), fpConfiguration->GetComponentID()); -- 2.43.5