How to Solve NameError: name 'jsonlogger' is not defined -- pythonjsonlogger
Solution: Import the 'jsonlogger' module
# Add the following line to the top of your code
from pythonjsonlogger import jsonlogger
For more information:
pythonjsonlogger jsonlogger