/var/log/httpd/*log \{
    create root root
    missingok
    notifempty
    sharedscripts
    rotate  {${'httpd-e-smith'}{'KeepNumberLog'} || $rsyslog{'KeepNumber'} || 10 }
    maxsize {${'httpd-e-smith'}{'MaxSizeLog'} || $rsyslog{'MaxSize'} || "100M";}
    maxage {${'httpd-e-smith'}{'PurgeLengthLog'} || $rsyslog{'PurgeLength'} || 95;}
    { $OUT = "#default compress see logrotate.conf" ; $OUT = "compress " unless ( (${'httpd-e-smith'}{'CompressLog'} || "disabled") eq "disabled" );}
    delaycompress
    postrotate
        /bin/systemctl restart httpd-*.service > /dev/null 2>/dev/null || true
    endscript
\}
