Nigel Babu has proposed merging lp:~nigelbabu/loco-team-portal/fix-stdout into 
lp:loco-team-portal.

Requested reviews:
  LoCo Team Portal Developers (loco-directory-dev)

For more details, see:
https://code.launchpad.net/~nigelbabu/loco-team-portal/fix-stdout/+merge/82036

Temporarily push the stdout to stderr when using wsgi.
-- 
https://code.launchpad.net/~nigelbabu/loco-team-portal/fix-stdout/+merge/82036
Your team LoCo Team Portal Developers is requested to review the proposed merge 
of lp:~nigelbabu/loco-team-portal/fix-stdout into lp:loco-team-portal.
=== modified file 'loco_directory/django.wsgi'
--- loco_directory/django.wsgi	2011-10-07 13:29:01 +0000
+++ loco_directory/django.wsgi	2011-11-11 23:20:31 +0000
@@ -3,6 +3,7 @@
 
 import django.core.handlers.wsgi
 
+sys.stdout = sys.stderr
 # add path to sttings to system path if not already there
 # check if path is already there to avoid path duplication when
 # modwsgi is configured for code reloading

_______________________________________________
Mailing list: https://launchpad.net/~loco-directory-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~loco-directory-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to