/var/log/cdp-logging-agent/cdp-logging-agent.log {
  size 10M
  daily
  rotate 10
  notifempty
  maxage 11
  missingok
  create 640 root root
  sharedscripts
  postrotate
    pid=/var/run/cdp-logging-agent/cdp-logging-agent.pid
    if [ -s "$pid" ]
    then
      kill -USR1 "$(cat $pid)"
    fi
  endscript
}