[Django]-Why is this logging configuration not printing to stdout?


You need to specify filters:

'loggers': {
    'django': {
        'filters': [],             # <-- this line
        'propagate': True,

I don’t know why.


Logger level has higher priority to handler level,
logging.DEBUG has value 10, and logging.INFO has value 20.

'handlers': {
    'console': {

'loggers': {

Hence your logging is always set at INFO level coz of logger priority, and DEBUG output will not be used.

this is what i feels is the issue.



Took me a while to dig out, but it’s because of this:


It’s quite confusing and should be highlighted in the logs documentation, which it isn’t.

Leave a comment