"Fossies" - the Fresh Open Source Software Archive

Member "groupoffice-6.4.215-php-71/modules/log/README.TXT" (22 Jan 2021, 501 Bytes) of package /linux/www/groupoffice-6.4.215-php-71.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 Log entries older then 14 days can be dumped to /var/log/groupoffice/*.csv with command:
    2 
    3 ./groupofficecli.php -r=log/log/rotate
    4 
    5 You can setup to rotate the log by creating a config file for logrotate in /etc/logrotate.d/groupoffice.
    6 
    7 Put this in it:
    8 
    9 /var/log/groupoffice/*.csv {
   10         weekly
   11         missingok
   12         rotate 52
   13         compress
   14         delaycompress
   15         notifempty
   16         create 640 root adm
   17         sharedscripts        
   18 }
   19 
   20 Debian packages will install this automatically.