Debugging in logger