The WSGIErrorsHandler class is accessible via the pylons.log module.
This code is derived from CherryPy's cherrypy._cplogging.WSGIErrorHandler.
Return the wsgi.errors stream
Raises a TypeError when outside of a web request (pylons.request is not setup)
See the source for more information.