Fix logger to work w/ Tornado 3.1