On Feb 15, 7:57 am, bruno desthuilliers
<bruno.desthuilli...@gmail.com> wrote:
> On Feb 14, 6:23 pm, JC <catalanoj...@gmail.com> wrote:
>
> > Hey guys,
>
> > Does Django 1.3.1 handle logging from multiple processes or I have to
> > have some special consideration?
>
> Not really a django-specific problem - the problem exists as soon as
> you have concurrent write access on a same file. The solution is of
> course to NOT log to a file.
>
Thanks! Maybe I wasn't clear, I know this is not a django-specific
problem, but since it had implemented logging integration I wanted to
know if django had worked around this issue.

> > This document may be 
> > related:https://code.djangoproject.com/wiki/LoggingProposalbutits two years
> > old so I was wondering maybe Django now supports this?
>
> https://docs.djangoproject.com/en/1.3/topics/logging/
>
> IOW : learn to use the standard python logging module. If you're using
> mod_wsgi the simplest thing is to use a streamhandler on sys.stderr
> and let apache do the dirty work.

I've read about this, I'll give it a try!

Thanks!

JC

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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