In Django 1.3 I'm using logging for handling logs and save them to .log files or print them in console, and everything works as expected.
I also have django-debug-toolbar installed, but no messages are shown in the logging pane.
Somebody knows which logging handler serves the django-debug-toolbar logging pane?
Edit
Here is an excerpt of my settings.py
LOGGING = {
    'version': 1,
    'disable_existing_loggers': False,
    'formatters': {
        'verbose': {
            ...
        },
        ...
     },
    'handlers': {
        'console': {
            'level': 'DEBUG',
            'class': 'logging.StreamHandler',
            'formatter': 'verbose'
        },
        ...
        'debug': {
            'level': 'DEBUG',
            'class': 'logging.FileHandler',
            'filename': 'logs/debug.log',
            'formatter': 'standard',    
        },
        ...
    },
    'loggers': {
        ...
        ...
        'myapp.debug': {     # <- THIS i the logger I would like to see in DDT 
            'handlers': ['debug','console'],
            'level': 'DEBUG',
            ...
         },
    },
}
                This is a reported bug in django-debug-toolbar on GitHub.
A temporary workaround is mentioned in the issue thread.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With