fixup of logging bug