django/django — pull request #787 by danielsokolowski (2013-02-23 17:44:54+00:00)
Title: Added catch-all logger and tweaked output formats.

Having a default catch-all logger will prevent '[Sat Feb 23 12:17:35 2013] [error] No handlers could be found for logger "<__name__>"' errors. Updated the 'simple' and 'verbose' format to something more useful in my opinion:

Apache log 'simple':
[Sat Feb 23 12:38:08 2013] [error] WARNING accounts.forms forms.py@82: User 'support3' attempted to register with company 'KL Insight2' but it already exists

Apache log 'verbose':
[Sat Feb 23 12:41:13 2013] [error] WARNING accounts.forms 2013-02-23 12:41:13,836 forms 22335 -1250423952 /srv/www/django/development.yupifoods.com/src/django-project/accounts/forms.py@82: User 'support3' attempted to register with company 'KL Insight2' but it already exists

Thoughts?