Minor refactor calls to logging in tornado 3.1.1