I am using a script that an old coworker wrote.
He was using the logging
module to print out to standard output.
(Specifically, he created a logger
using logging.getLogger()
and then would logger.info("some message")
)
I swapped this out for print
(I intend to add logging
back later).
Now, when I run code, I get this error.
NameError: name 'logger' is not defined
I removed __pycache__
but I'm still experiencing the error.