added logrotate to phd log file