Forums

Error logs take some time to update

Hi,

I'm trying to debug a Flask application, but it seems that after an error occurs in a webpage it can take as many as a couple of minutes for the error log to reflect this.

Is there any way to speed this up? Or is there a way of getting my error log in real time (maybe tail on a file, rather than hitting F5 on a webpage?)

Thanks, Robert

All the logs are stored in /var/log. There will be 3 for each webapp - error, server and access. You can tail that file in a bash console. The logs may still take a few seconds to make it to the log file, though.