Closed ScrimForever closed 6 years ago
Because by default logging handler in Python are configured to level 'INFO', which means only 'WARNING' and above are emitted.
set your logger level to DEBUG and you will see info messages too.
Thanks a lot. So sorry. Can close this ticket, please!
handler = MongoHandler(host='localhost') logger = logging.getLogger('test') logger.info("test", extra={'ip': '127.0.0.1'}) <--- not working..... logger.warning("test")
Why just .info not working ???