GDPR - logrotation - to reduce amount of IP data

lorio

Well-Known Member
Feb 25, 2004
313
20
168
cPanel Access Level
Root Administrator
cPanel, CentOS and plugins like CSF generate a lot of logfiles.
E.g. The cPanel Log Files - cPanel Knowledge Base - cPanel Documentation

To comply more easily with GDPR it would be good, to be in control of all these logs and apply a certain timeframe on it (e.g 3 days or 7 days) before pruning the logfiles. A way to remove parts of the IP-Address (last two octets) would be nice too, when it comes to statistical logs around httpd.

Currently cPanel is offering time frames for things like "Update analysis retention interval"
BTW: The Server Usage Analysis Data Collection Policy (2013)
Privacy Policy | cPanel, Inc. needs an update.
E.g.
Is the data collection an opt-in program?
No. Both the Error Reports and Server Configuration data are opt-out. The Server Usage data is opt-in.
On new installations you can see, that Server Usage data is opt-out too.

A improvement of the logration center for timeframes would be a good start.
A way to add logfiles manually and import/export a list would be another step.

Thanks for reading.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hello,


You can choose which cpanel logs you want included into cPanel's log rotation here: WHM>>Service Configuration>>cPanel Log Rotation Configuration

For non cPanel logs you have control over when/how often those are rotated by using the logrotate service. The following 3rd party articles go over configuring logrotated:
Setting Up Logrotate on RedHat Linux - LinuxConfig.org
RHEL/CentOS 7 : Configuring Logrotate

Also thanks for the information on our site, I've notified the proper channels that it should be updated
 

lorio

Well-Known Member
Feb 25, 2004
313
20
168
cPanel Access Level
Root Administrator
Thanks for response. I'm aware of the cPanel Log Rotation Configuration.
I would like to see more features there, to e.g. limit not only by size.
In other words: expose more functions of logrotate to the WHM GUI.
Let's see what impact GDPR will have on the control panel space.
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
Hi @lorio

For improvements to that feature I would suggest a feature request, especially in light of the changes necessary for GDPR making these functions easier/more controllable may be a good idea. You can open one using the link in my signature. If you do open it please update this thread with the link to it so others can vote on it.

Thanks!
 
Thread starter Similar threads Forum Replies Date
T Security 2
N Security 24
F Security 14