There is a problem with the description of this task (see below) it talks about retain them for a maximum of 3 weeks
and configure httpd logs rotation to monthly and keep only 3 rotated
So weekly and monthly have gotten mixed up. In the error it also mentions weekly. Also haproxy requires continuous reviews although the logrotate configuration file has be correctly configured. I know that one has configure haproxy to generate logs with rsyslog, but that would make the task more complicated than for httpd or squid. I have also suggested to one user how to configure haproxy for rsyslog which he subsequently did but the task was still marked wrong.
The Nautilus
DevOps team is ready to launch a new application, which they will deploy on app servers in Stratos Datacenter
. They are expecting significant traffic/usage of httpd
on app servers after that. This will generate massive logs, creating huge log files. To utilise the storage efficiently, they need to compress the log files and retain them for a maximum of 3 weeks. Check the requirements shared below:
a. In all app servers install httpd
package.
b. Using logrotate
configure httpd
logs rotation to monthly and keep only 3 rotated.
(If by default log rotation is set, then please update configuration as needed)