<david.delaharpe.golden@ichec.ie> wrote:
> On 23/06/10 16:48, thusjanthan wrote:
>>
>> Hi,
>>
>> I am creating a new django framework and figured django would come
>> with its own logging feature. I found this one that Fraser wrote but
>> is no longer in development (http://code.google.com/p/django-logging/
>> wiki/Overview)
>
> That's wasn't really for logging in the operational server system logs
> sense, it was for showing log messages arising in the request-response cycle
> in the html returned to the browser (which IS very handy during
> development/debug, but not something you'd do on a production server...).
>
> django-debug-toolbar has a superset of its functionality.
>
>> Can anyone suggest me a django logging project to log
>> debug/error messages at server level and as a bonus feature perhaps an
>> email to admin if a critical error happens.
>>
>
> Python itself ships with a logging infrastructure (quite the baroque one),
> module "logging". You can just use that in conjunction with django.
>
> http://docs.python.org/release/2.6/library/logging.html
>
> regarding email: Django does fire off certain exception emails when
> disaster strikes, python logging has SMTPHandler, and there's also the
> "logwatch" tool once you have stuff going to logs.
I would also add that adding support for logging is one of the high
priority items for Django 1.3 [1]. The design is mostly sorted at this
point, and a preliminary implementation is available at [2]
[1] http://code.djangoproject.com/tickets/12012
[2] https://code.launchpad.net/~vinay-sajip/django/logging
Yours,
Russ Magee %-)
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment