Dear Community,
I tried to configure simple logging system like this:
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'formatters': {
'simple': {
'format': '%(levelname)s: %(message)s'
}
},
'handlers': {
'console':{
'level':'INFO',
'class':'logging.StreamHandler',
'formatter': 'simple'
}
},
'loggers': {
'xlogger': {
'handlers': ['console'],
'level': 'INFO'
}
}
}
Then in any module I tred:
then I just get the INFO messages in the stdout, but I expected to see all higher level message, why?
Thanks,