logger fix from tests