]> git.ipfire.org Git - thirdparty/tornado.git/commit
Reduce logging of errors inside IOStream (especially SSLError).
authorBen Darnell <ben@bendarnell.com>
Sun, 5 Jul 2015 02:40:23 +0000 (22:40 -0400)
committerBen Darnell <ben@bendarnell.com>
Sun, 5 Jul 2015 02:42:41 +0000 (22:42 -0400)
commitd74d58384bc7b123235da95ec6580799c384a7ad
tree2ff437a54c7e931a43c97c665acfad29076bf5a3
parentc91f7c3e0857d3dc7dce147cbeec99ac5d7546a8
Reduce logging of errors inside IOStream (especially SSLError).

Coroutine-style usage converts most errors into StreamClosedErrors,
which are logged less noisily while still allowing the original error
to be seen via the new real_error attribute. SSL errors now typically
result in a single log line instead of a full stack trace.

Closes #1304.
tornado/iostream.py
tornado/simple_httpclient.py
tornado/test/httpserver_test.py
tornado/test/iostream_test.py
tornado/test/simple_httpclient_test.py
tornado/testing.py