Fixed error logging in DefaultLogger again.