Skip to content

Commit 43fc099

Browse files
committed
fix(sim): Change log level for multiple sensitive volumes with same name
Both the transport engines and FairRoot allow registering of multiple nodes with the same volume/same volume name (copy mechanism). However currently such workflow logs errors from `FairVolumeList::addVolume()`. The commit changes the LOG(error) to LOG(debug). Fixes the issue #1595.
1 parent 23a39ba commit 43fc099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fairroot/base/sim/FairVolumeList.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ FairVolume* FairVolumeList::addVolume(std::unique_ptr<FairVolume> vol)
3535
auto vol_found = findObject(vol->GetName());
3636

3737
if (vol_found) {
38-
LOG(error) << "FairVolumeList element: " << vol->GetName() << " VolId : " << vol->getVolumeId()
38+
LOG(debug) << "FairVolumeList element: " << vol->GetName() << " VolId : " << vol->getVolumeId()
3939
<< " already defined " << vol_found->getVolumeId();
4040
return nullptr;
4141
}

0 commit comments

Comments
 (0)