#14625: Docs on logging should emphasize that file logging is not multiprocess
save
------------------------------------+---------------------------------------
Reporter: zimnyx | Owner: nobody
Status: closed | Milestone:
Component: Documentation | Version: SVN
Resolution: wontfix | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
------------------------------------+---------------------------------------
Changes (by gabrielhurley):
* status: new => closed
* resolution: => wontfix
Comment:
At present, Django's docs give no recommendation to use FileHandler (or
RotatingFileHandler) at all. The docs instead direct people to the Python
logging docs, which do cover the issue you raised, though not as loudly or
obviously as might be desired.
I agree that logging to a file is a common practice, and that using
RotatingFileHandler is a common practice, but I really see this as a
failure of the Python documentation that the issue is not more clearly
noted.
As such, I would say this ticket should be directed at the Python docs
rather than the Django docs until such time as Django has specific
recommendations or examples regarding specific file-logging
configurations.
If you feel that Django's documentation *should* have recommended logging
configurations that's a whole different issue, and will probably require
building consensus on the Django Developers mailing list.
--
Ticket URL: <http://code.djangoproject.com/ticket/14625#comment:2>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.