Issue with logging in #2.