Bug in logger fixed.