Plesk for Windows
DoNotDelete:docref
kb: how-to
Plesk for Linux
ABT: Group A
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
A GDPR-related regulation prohibits storing clients' IP addresses on the server after a certain period of time. How to set up forced log rotation for all domains?
Answer
Plesk UI
- Login into Plesk;
- Go to Tools & Settings > Server Settings;
- Enable option Force daily log rotation for all domains and specify how long logs will be kept:
CLI
-
Connect to the server via SSH or Connect to the server via RDP
-
Use
logrotate_force
to enable it andlogrotate_period
for the number of days:# plesk bin settings -s logrotate_force=true
# plesk bin settings -s logrotate_period=8C:\> plesk bin settings -s logrotate_force=true
C:\> plesk bin settings -s logrotate_period=8
Comments
0 comments
Please sign in to leave a comment.