siklosib
New Contributor II

What solved this problem for me is to remove the root logger configuration from the logging config and create another one within the loggers section. See below.

{
'version': 1,
'disable_existing_loggers': False,

'formatters': {
'simple': {
'format': '%(message)s'
},
}

'handlers': {
'console': {
'class': 'logging.StreamHandler',
'level': 'INFO',
'formatter': 'simple',
'stream': 'ext://sys.stdout'
},
},

'loggers': {
#### use this instead in your app ####
'my': {
'level': 'INFO',
'handlers': ['console'],
'propagate': False,
}
},

#### remove this ####
'root': {
'level': 'DEBUG',
'handlers': ['console']
},
}