Changes between Initial Version and Version 1 of Ticket #11694, comment 21
- Timestamp:
- Aug 27, 2014, 5:11:58 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11694, comment 21
initial v1 6 6 > Another possibility might be to print to stdout from [browser:/trunk/trac/web/standalone.py@12788:299-300,302#L281]. 7 7 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].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 ConfigurationDirectives#WSGIRestrictStdout] and [https://code.google.com/p/modwsgi/wiki/DebuggingTechniques DebuggingTechniques].