CentOS 7 logrotate modifications

eva2000

Verified User
Joined
Jul 1, 2019
Messages
122
If we are modifying logrotate, can we directly modify from /etc/logrotate.d/ files or is there a DirectAdmin CustomBuild method to observe ?
Code:
ls -lah /etc/logrotate.d/                  
total 80K
drwxr-xr-x.  2 root root  4.0K Jul 18 07:08 .
drwxr-xr-x. 80 root root   12K Jul 24 07:34 ..
-rw-r--r--   1 root root   417 Jun  7  2016 apache
-rw-r--r--.  1 root root    91 Apr 10  2018 bootlog
-rw-r--r--.  1 root root   160 Sep 14  2017 chrony
-rw-r--r--   1 root root   350 Jul 17 17:49 directadmin
-rw-r--r--   1 root root   198 Jul 17 19:26 dovecot
-rw-r--r--   1 root root   112 Dec  7  2017 exim
-rw-r--r--   1 root root   172 Aug  6  2017 lfd
-rw-r--r--   1 root root   868 Jun 14 18:47 mysql
-rw-r-----   1 root named  514 Jun  4 12:26 named
-rw-r--r--   1 root root   371 Nov 29  2018 php-fpm
-rw-r--r--   1 root root   157 Oct 26  2011 pure-ftpd
-rw-r--r--   1 root root   127 Mar 23  2017 redis
-rw-r--r--.  1 root root   224 Oct 30  2018 syslog
-rw-r--r--   1 root root   203 Jul 17 19:27 webapps
-rw-r--r--.  1 root root   100 Oct 30  2018 wpa_supplicant
-rw-r--r--.  1 root root   103 Nov  4  2018 yum
 
As far as I know neither directadmin nor custombuild modify files under /etc/logrotate.d/.
For weblogs Directadmin uses its own mechanisms for logrotating. So you can modify those files.
 
Back
Top