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

Solution: Import the 'LogFormatter' module

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

 

For more information:
tornado LogFormatter