Edgewall Software

Changes between Initial Version and Version 1 of Ticket #11694, comment 21


Ignore:
Timestamp:
Aug 27, 2014, 5:11:58 PM (6 years ago)
Author:
Jun Omae

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #11694, comment 21

    initial v1  
    66> Another possibility might be to print to stdout from [browser:/trunk/trac/web/standalone.py@12788:299-300,302#L281].
    77
    8 I think we should use `environ['wsgi.errors']` rather than if printing to stdout. If mod_wsgi with `WSGIRestrictStdout On`, it will get `IOError: sys.stdout access restricted by mod_wsgi`. See [https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIRestrictStdout WSGIRestrictStdout].
     8I think we should use `environ['wsgi.errors']` rather than if printing to stdout. If mod_wsgi with `WSGIRestrictStdout On`, it will get `IOError: sys.stdout access restricted by mod_wsgi`. See [https://code.google.com/p/modwsgi/wiki/ConfigurationDirectives#WSGIRestrictStdout ConfigurationDirectives#WSGIRestrictStdout] and [https://code.google.com/p/modwsgi/wiki/DebuggingTechniques DebuggingTechniques].