id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 6687,Logging stdin/stderr with a daemonized fastcgi process,Tamas Kemenczy,nobody,"Django has a nice daemonizing function `django.utils.daemonize.become_daemon`, which takes `out_log` and `err_log` keyword arguments. `django.core.servers.fastcgi` makes use of `become_daemon`, but only the `our_home_dir` is specified and the `out_log` and `err_log` arguments are not being utilized. This patch proposes adding `outlog` and `errlog` as additional fastcgi options so that you can specify files to redirect stderr and stdout to for daemonized fastcgi processes via `manage.py runfcgi`. Its a simple change to `fastcgi.py`. In addition, a line needed to be added to `daemonize.py`, so that the file descriptors are line buffered for posix systems.",,closed,Core (Other),dev,,fixed,"daemonize, fastcgi, logging",django@…,Accepted,1,1,0,0,0,0