I upgrade to Django 3.0, and I have been seeing this message in the logs printed to console. How can I avoid it?
Using selector: EpollSelector
This message is from the asyncio
library that comes with Python 3. You can configure its logging by modifying the LOGGING
configuration:
LOGGING = {
'version': 1,
'loggers': {
'asyncio': {
'level': 'WARNING',
},
},
}
If you're not using Django, you can use this line of code:
import logging
logging.getLogger('asyncio').setLevel(logging.WARNING)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With