tech-docs

Technical documentation for ArchivesSpace

View the Project on GitHub archivesspace/tech-docs

Edit this page on GitHub administration/logrotate.md

Report issue on Jira administration/logrotate.md

Log Rotation

In order to prevent your ArchivesSpace log file from growing excessively, you can set up log rotation. How to set up log rotation is specific to your institution but here is an example logrotate config file with an explanation of what it does.

/etc/logrotate.d/

  /<install location>/archivesspace/logs/archivesspace.out {
          daily
          rotate 7
          compress
          notifempty
          missingok
          copytruncate
   }

this example configuration file: