Made logging more Flask-esque.