+ CEPH_CLIENT_ID=ceph-client.rgw.ceph.a + PERIODICITY=daily + LOG_ROTATE_CEPH_FILE=/etc/logrotate.d/ceph + LOG_MAX_SIZE=500M + ROTATE=7 + sed -i 's|*.log|ceph-client.rgw.ceph.a.log|' /etc/logrotate.d/ceph + sed --in-place s/daily/daily/g /etc/logrotate.d/ceph + sed --in-place 's/rotate 7/rotate 7/g' /etc/logrotate.d/ceph + '[' 500M '!=' 0 ']' + sed --in-place '4i \ \ \ \ maxsize 500M' /etc/logrotate.d/ceph + true + logrotate --verbose /etc/logrotate.d/ceph reading config file /etc/logrotate.d/ceph Creating stub state file: /var/lib/logrotate/logrotate.status Reading state from file: /var/lib/logrotate/logrotate.status Allocating hash table for state file, size 64 entries Handling 1 logs rotating pattern: /var/log/ceph/ceph-client.rgw.ceph.a.log after 1 days (7 rotations) empty log files are not rotated, log files >= 524288000 are rotated earlier, old logs are removed switching euid from 0 to 0 and egid from 0 to 167 (pid 88) considering log /var/log/ceph/ceph-client.rgw.ceph.a.log log /var/log/ceph/ceph-client.rgw.ceph.a.log does not exist -- skipping Creating new state not running postrotate script, since no logs were rotated switching euid from 0 to 0 and egid from 167 to 0 (pid 88) + sleep 15m