How to Solve NameError: name 'INFO' is not defined -- logging

Solution: Import the 'INFO' module

# Add the following line to the top of your code
from logging import INFO

 

For more information:
logging INFO