How to Solve NameError: name 'enable_pretty_logging' is not defined -- tornado

Solution: Import the 'enable_pretty_logging' module

# Add the following line to the top of your code
from tornado.log import enable_pretty_logging

 

For more information:
tornado enable_pretty_logging