I have the following :
### running with Python 3
import logging
logger = logging.getLogger(__name__)
logger.setLevel('DEBUG')
logger.exception('this is an exception')
The output is:
this is an exception
NoneType: None
What do i need to do to get rid of that "NoneType: None" output?