Add logging in rotation callbacks