Some minor change to logging