• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Storing log files on separate drive

Status
Not open for further replies.

SlobodanG

New Pleskian
Hi,

I would need to put all client logs (/var/www/vhosts/*/statistics/logs/*) to drives that are separated from httpdocs.
Now I'm doing that by manually moving statistics folder to new drive and hard linking it back to old drive.

Is there better (automated) way to do such things?
 
I think that you can write some custom script for moving logs to separate drive and use it in Event Manager for domain creation event.
 
Status
Not open for further replies.
Back
Top