Add logging in settings and polls.views