Here's a handler:
'django_log_file': {
'level': 'DEBUG',
'class': 'logging.handlers.RotatingFileHandler',
'filename': '/tmp/myproject_django.log',
'formatter': 'verbose',
'backupCount': 50,
'maxBytes': 2 ** 20,
},
Here's a logger:
'django':{
'handlers': ['django_log_file'],
There won't be any warnings for that because nothing's wrong. If you
read up on how the logging module works it'll make sense. In short, you
can give any names you like (a lot of people just use __file__ to use
the current filename). The logging module then treats dotted names like
a hierarchy. So what you entered was a completely legitimate name -- it
just didn't happen to match the name the Django team used when they
created their logger instance.