Using the chatbot version 1.5.2b0
ChatterBot 1.0.1
chattebot-corpus 1.2.0
you have to import the logging module and set the log level to CRITICAL
import logging
logger = logging.getLogger()
logger.setLevel(logging.CRITICAL)
We can also save our logs to external file so that while running the code everything is saved in that file.
import logging
logging.basicConfig(filename='example.log',level=logging.DEBUG)
You may also change the logging levels in level argument
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
you have to import the logging module and set the log level to CRITICAL
import logging logger = logging.getLogger() logger.setLevel(logging.CRITICAL)