How can I get logging.info() working on cPanel Python app?

Viewed 13

I have app.py with

import logging
logging.info('logging miami')
print('printing miami')

and all I get is:

printing miami

I don't get any runtime errors. I guess it's finding the logging import OK.

I'm looking at the log file I designated when I created the Python app in cPanel.

Surely I can use logging.info on cPanel, right? I want to output datetime stamps, etc. It's important.

0 Answers
Related