Fixing Coverity issues and started using FairLogger