Make debug logging togglable.