logrotate for phantomjs and monitor