rtyler / Spawning

Spawning is a wsgi server which supports multiple processes, multiple threads, green threads, non-blocking HTTP io, and automatic graceful upgrading of code

Home Page:http://pypi.python.org/pypi/Spawning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seeing stdout/stderr from children

yang opened this issue · comments

I currently have Spawning spin up a bunch of Pastes, but I can't get any of their stdout/stderr. Can Spawning either simply let the stdout/stderr pass through (to its own stdout/stderr), and/or can Spawning direct each child's stream to its own file?

Clarification: stdout/stderr work, but the default Paste logging facility - which prints to stderr - isn't able to produce any visible output. Currently hack: a new config_factory that redirects stdout/stderr to per-child log files.