Forums

Error log not updating

Hi, I'm trying to restructure my site files. In doing this it seems I've lost feedback from the error log.

The last error log update i received was:

2020-08-18 17:19:27,227: Exception on / [GET] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/flask/app.py", line 2

I tried going back to a simpler folder structure, the website loaded just fine. Then I come back to the new folder structure (site not loading) and I see the same error and time stamp. I maybe missing something very obvious but I feel lost to alternatives. Any advice?

I am having the same issues - neither error log or server log being updated.

Sorry about that, we had a problem with the logging system yesterday -- it was fixed a few minutes after these posts were made.

Yes, it seemed to come back up very soon afterwards. Thanks!!!

Excellent, thanks for confirming!

My error log is still not updating as it should. I’ve been waiting for nearly an hour now and it has not updated. Is there still an issue going on?

The logging system is working fine at the moment -- what errors are you expecting to see in yours? I don't see any errors on your site right now.

I am having a similar issue. Even after making the changes, my error log does not update. I even deleted my web app, started a new one and I still get the same errors even after I fixed the problem in one of the files.

What kind of errors and how did you fix them?

Hello, having the same issue right now. Website is working, but server/error/access logs are not updating :-(

Thanks for reporting -- it should be fixed by now. Sorry for any inconvenience!

That's ok, meanwhile I learned how to pull logs directly from Django :-D

That wasn't a wasted oportunity for sure!

Hello, seems like bugs with log again, i still see my old version of cod logs

*error logs are not updating for me

We have had issues with logs over the last few days, but they are working at the moment.

Hello, having the same issue right now. I want to check where the error is as soon as possible. Thank you.

Did the missing logs eventually appear in the logs or are they entirely missing? Maybe logging was slow for a bit?

error log is not updating

Is your app definitely receiving requests and being started up?

Yes

I see that you have two websites associated with your account; one of them appears to have errors being logged, and the other is for a domain that doesn't seem to have been pointed at PythonAnywhere. Could you clarify which of the two sites you're having problems with? So that you don't have to publish the name of your site in these public forums, just let us know what the first letter of the site's hostname is.

error log is not updating

I can see errors going in to the log at the moment; are you sure you're looking at the right part of it? The most recent error is always at the bottom of the file.

error log not updating?

Either you need to wait a little bit for the error to make it through the logging system or perhaps your app is not logging anything to the error log.