• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Past access log files

masaro

New Pleskian
Hello there,
i am looking for access logs regarding July 2021, but apparently i can only find recent ones.

Does anybody know where the previous files are stored? I have looked inside

/var/logs/apache2
/var/www/vhosts/DOMAIN/logs

Thanks
 
Hi, do you have log rotation enabled in Server-Settings? There you can find the time logs are kept on disk.
 
Yes, it is a "By size" log rotation, and i can find the recent logs.
But i am looking for older ones, July 2021 in this case.
 
You checked it within the domain's log rotation settings.
Please check the system wide log rotation in Tools & Settings -> system settings.
There, a time period can be defined.
 
Under
"Server Settings"

i have
"Log rotate"

with an unflagged
"Force daily log rotation for all domains"

which i guess it means there is no log rotation system-wide (but eventually domain by domain).

However looking at the log rotation configs on the domain of my interest seems like the rotation is set, and that is instructed to compress and rotate files bigger than 10240 KB, zipping them and storing a maximum of 10. Can i suppose the others are just being canceled?
 

Attachments

  • pic.png
    pic.png
    26.9 KB · Views: 6
Under
"Server Settings"

i have
"Log rotate"

with an unflagged
"Force daily log rotation for all domains"

which i guess it means there is no log rotation system-wide (but eventually domain by domain).

However looking at the log rotation configs on the domain of my interest seems like the rotation is set, and that is instructed to compress and rotate files bigger than 10240 KB, zipping them and storing a maximum of 10. Can i suppose the others are just being canceled?
Yeah, your settings means that a maximum of 10 log files are stored, each with a maximum file size of 10240 KB. All older log files are deleted and you cannot get them back.
 
Do you keep backups? If so, is "Exclude log files" in your backup settings checked or not?
 
Back
Top