• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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