Forums

Error Log Blank

Hi,

I'm using a free account and my app is a simple flask API. I have started having issues with the Error Log. It was working fine up until a few days ago but now it is completely blank. I've tried clearing browser cache and using a different browser. Can anyone help please?

Thanks if you can.

Error logs are rotated -- if they're more than 100KiB in size, then at around midnight, the old error log will be moved to the same filename, but with a .1 at the end, the old .1 file will be compressed using gzip and moved to the same filename but with .2.gz at the end, and so on all the way up to the .10.gz file, which will be deleted.

So that's why the old contents are no longer there; if there are no errors in your website, then of course you will not get any new ones, so the error log will remain empty.

Hello, I am sure that I have some errors in my web app, yet my error log page is black. Any ideas for an alternative to view errors?

You might find issues in the website's server log -- there's a link to that next to the one for the error log. However, I checked your account just now and it looks like you have your website set up to use Python 3.13, but the virtualenv you have configured has Python 3.11 installed -- you'll see an error about that if you scroll down to the "VIrtualenv" section of the "Web" page. So fixing that is probably the best first step.

Thanks very much for the update.

Let us know if you need any other help from us.