Another logging fix