Logrotate is a utility on linux used to efficient management of logs , often logs can an consume more disk space on a sever logrotate does help to tackle this.
Package logrotate needs to be installed on the system.
#sudo dnf install logrotate -y
Last metadata expiration check: 0:54:00 ago on Saturday 17 March 2018 09:24:31 AM IST.
Package logrotate-3.12.3-4.fc27.x86_64 is already installed, skipping.
Nothing to do.
Configuration files for logrotate are located at
#sudo rpm -qc logrotate
Individual logrotate configuration files are located at /etc/logrotate.d/ , this is achieved by setting apache include directive in /etc/logrotate.conf
#sudo grep include /etc/logrotate.conf