Document toolboxDocument toolbox

(2022.1) Configure Log Rotate for the PCR-360 logs

NOTE: If migrating a server, this step should be completed after copying the customer data

yum install logrotate
cat >/etc/logrotate.d/pcr360_prod <<LOG
/var/www/pcr360/prod/logs/*log {
	missingok
    notifempty
	daily
	minsize 1M
	rotate 14
	delaycompress
}
/var/www/pcr360/test/logs/*log {
	missingok
	notifempty
	daily
	minsize 1M
	rotate 14
	delaycompress
}
LOG