Forums

LOG FILES IN REALTIME

I'm deploying an Flask Web app and I want to see the logs file (such as server.log, error.log) in realtime on a Bash console. Is it possible?

In this article https://www.pythonanywhere.com/forums/topic/9348/ says that it is possible enter to /var/www but there I can't find any log file to execute tail -f command.

Thanks

Hmm, it looks like there was a mistake in my colleague's post on that forum thread -- the log files are in /var/log/, not /var/www/.

Do I need a paid account to access /var/log? Because I cannot to access (I have a free account)

no- you can go to /var/log from your PythonAnywhere files tab.

i cannot under from where ? i can find var/log help plz

There's a link to it on the "Web" page, just under the log files.