0

Are there any alternatives to Apache's rotatelog that will also compress logs? Logrotate is not an option due to requiring a restart. Ideally this would be a utility that can be used to pipe logs from apache to it, similar to how rotatelog operates. I am ware a script and crontab would do the job but I was hoping something nicer was already out there.

Thanks,

  • Doesn't logrotate have a "copytruncate" option, that should avoid the restart? – cjc Jun 11 '14 at 21:24
  • 3
    `logrotate` actually performs a `graceful` restart of the `httpd` process, not a restart. – dawud Jun 11 '14 at 21:28

0 Answers0