updates to fix problems found by scrutinizer-ci for ZenLogger