logging: small bugfix