Forums

error.log keeps on looping

Hi, I tried to delete my jjhui.pythonanywhere.com.error.log in /var/log, but receiving "Permission denied". After searching the forum. I followed one of the replies to apply the "echo '' > /var/log/mydomain.name.com.error.log" command. But now, when I open my error.log, it keeps on looping and never stop. Please let me know how can I get a error.log only with the most updated one. Thanks.

How do you clean your logs with currently that causes the loop that you are talking about?

You can use our cli tool https://pypi.org/project/pythonanywhere/ to clear logs.