Rotate out /var/www/*/log/*

Discussion in 'Installation/Configuration' started by timbe, Sep 5, 2008.

  1. timbe

    timbe New Member

    How would I rotate out all of our clients websites logs and gzip them? They get huge and our backup service is complaining about the time it take rsync the server each night.

    I checked and the one log is 20MB, so they are probably all that size.

    Any help would be greatly appreciated!
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    There is no script for this available as part of ispconfig, you will have to write a script. These logs can be rotated or deleted as you liky only the log file of the current month is needed by ispconfig.

Share This Page