On 05/24/2011 03:25 PM, candlerb wrote:
Thank you. I tried this and it still didn't log my SQL queries. Then I
went through the documentation again, and found that I should have
configured "django.db.backends" instead of "django.db.backend".
It's working now. Sorry for the noise - it would have
On May 24, 5:28 pm, Shawn Milochik wrote:
> Here's a handler:
...
> Here's a logger:
Thank you. I tried this and it still didn't log my SQL queries. Then I
went through the documentation again, and found that I should have
configured "django.db.backends" instead of "django.db.backend".
It's work
I recommend logging to a file.
Here's a handler:
'django_log_file': {
'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler',
'filename': '/tmp/myproject_django.log',
'formatter': 'verbose',
'backupCount': 50,
3 matches
Mail list logo