Forums

Error/Application logs rolling too much

Hi Team,

In order to investigate any erro condition when i tryt o access logs it just keeps loading Is there a configuration where i can limit the logs to recent hour and any hisotrical can be viewwed on var/logs manually

Try accessign my logs ; https://www.pythonanywhere.com/user/bullbearing101/

Thanks in advance

You have control over what you are logging. You can set different verbosity for different situations. We rotate logs daily. You can always download them and filter whatever period you need out of them.

How to limit active log to last few hours and alaso how can i download as well ?

There's no way to limit the logs to just a few hours -- they're rotated once a day if they're more than 100KiB in size. To download the logs, click on the link to /var/log that is just underneath where the logs are shown on the "Web" page; that will take you to the directory where the logs are, and there will be a download icon next to each one.