You mean by using simple print statements. I used to do that when I
was on mod_python.
Then I moved to using mod_wsgi and read somewhere that mod_wsgi does
not log print statements.
I may have been mistaken.


On Jul 12, 8:18 pm, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> What is wrong with letting it log to stderr and thus the Apache error
> log files?
>
> Graham
>
> On Jul 13, 11:52 am, ydjango <neerash...@gmail.com> wrote:
>
> > Just checking, if anyone can point me to a good solution to it. Or
> > logging to sockets as in official doc is the best solution.
>
> > On Jul 11, 9:35 am, ydjango <neerash...@gmail.com> wrote:
>
> > > Python logging has know limitation with multiple processes logging to
> > > same file.
> > > (I am using rotatingfilehandler.)
>
> > > Which in case of prefork MPM will always be an issue and can be an
> > > issue for worker mpm as well?
>
> > > Python doc recommends logging to sockets.
>
> > > What workarounds  are you using and can recommend ?

-- 
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.

Reply via email to