#5677: Logging errors with mod_python (apache)
---------------------------------------------------------------+------------
Reporter: Manfred Wassmann <[EMAIL PROTECTED]> | Owner:
nickefford
Status: new |
Component: Contrib apps
Version: SVN |
Resolution:
Keywords: logging modpython mod_python |
Stage: Unreviewed
Has_patch: 0 |
Needs_docs: 1
Needs_tests: 0 |
Needs_better_patch: 0
---------------------------------------------------------------+------------
Changes (by [EMAIL PROTECTED]):
* component: Documentation => Contrib apps
* summary: Debugging with mod_python (apache) improperly documented =>
Logging errors with mod_python (apache)
* keywords: sprintdec01 => logging modpython mod_python
* needs_docs: 0 => 1
* has_patch: 1 => 0
* stage: Ready for checkin => Unreviewed
Comment:
Replying to [comment:6 dharris]:
> What about using standard python logging? Is there a way to get this to
go to the error log (or elsewhere)?
I wrote a python logging Handler class, ApacheLogHandler, to do just that.
It even supports Apache virtual hosts. Use it the same way as the
StreamHandler 'console' object in the Python logging API docs.
I'm trying to make this a clean django.contrib.logging.* feature. Right
now it's a [http://www.djangosnippets.org/snippets/627/ Django Snippet].
--
Ticket URL: <http://code.djangoproject.com/ticket/5677#comment:7>
Django Code <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
-~----------~----~----~----~------~----~------~--~---