• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

Resolved Only today's logs are available on a high traffic website

Pinocchio

New Pleskian
Hi,

I wanted to view logs from a few days ago but they're not available at Websites & Domains > Logs. Only today's logs are available. It's a high traffic website. What should I check?
 
The log viewer shows today's log by default.
If you want to view the previous days' logs then click on "Manage Log Files" and you'll see the rotated logs.
Also, check your "Log Rotation" settings and make sure you keep the logs long enough according to your needs.
 
The log viewer shows today's log by default.
If you want to view the previous days' logs then click on "Manage Log Files" and you'll see the rotated logs.
Thanks for your reply. I did go to the "Manage Log Files" section and only today's files are available.
Also, check your "Log Rotation" settings and make sure you keep the logs long enough according to your needs.
For some reason, the "Log Rotation" option was unchecked. I turned it back on with the default settings (by size 10240 KB, Maximum number of log file 10, compression on).
 
No, they are not gone, they are right there. They have been rotated and renamed. The ones with "processed" and/or .x.gz in the name are the previous log files.

Note: You configured log rotation based on file size, so you won't get a new log every day. I personally find it more convenient to configure daily log rotation so that a new file is created every day.
 
I see, thanks Monty. So, assuming I want to keep daily log files for 30 days, should I confugure rotation like the following?

Screenshot from 2021-07-27 16-01-11.png
 
Yes, this should keep the logs for 30 days with a new log file each day. Just make sure that this is compliant with your local GDPR but that's a whole other story
 
No, they are not gone, they are right there. They have been rotated and renamed. The ones with "processed" and/or .x.gz in the name are the previous log files.
I wonder why it didn't rotate proxy_access_ssl_log, though.
 
Back
Top