Debugging logging in/out