On Jan 5, 2:18 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Tue, Jan 5, 2010 at 1:55 PM, Patrick May <patrick....@codestreet.com>wrote: > > > I’m running Django using mod_wsgi under Apache. I’m > > trying to write messages to the Apache error log with: > > > sys.stderr.write(‘Message…’) > > > but for some reason they don’t appear. This is under OS X (Snow Leopard). > > Do I have to configure something in httpd.conf to enable this? > > Do you also include sys.stderr.flush() ?
No, I thought that mod_wsgi did the flush automatically (from some reading on the web). I just added calls to flush(), but no joy. Thanks, Patrick
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.