This manual is deprecated. Please visit https://groupoffice.readthedocs.io for the latest documentation. |
Activity log
From Group-Office Groupware and CRM Documentation
Revision as of 13:48, 8 January 2013 by Admin (Talk | contribs) (Created page with "You can optionally install the activity log module. This will log all delete, update and add actions. It also logs logins and logouts. The log module may have an performance impa...")
You can optionally install the activity log module. This will log all delete, update and add actions. It also logs logins and logouts. The log module may have an performance impact because it does extra database transactions. Log entries will be stored for 14 days. Then they will be dumped into a CSV file on the server.
Cron job for rotating the log
Log entries older then 14 days can be dumped to /var/log/groupoffice/*.csv with command:
./groupofficecli.php -r=log/log/rotate
You can setup to rotate the log by creating a config file for logrotate in /etc/logrotate.d/groupoffice.
Put this in it:
/var/log/groupoffice/*.csv { weekly missingok rotate 52 compress delaycompress notifempty create 640 root adm sharedscripts }
Debian packages will install this automatically.