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

Solution: Import the 'dictConfig' module

# Add the following line to the top of your code
from logging.config import dictConfig

 

For more information:
logging dictConfig