Logger problem fix