Yet another logging fix