-
Notifications
You must be signed in to change notification settings - Fork 5
Maintenance
albanmartel edited this page May 6, 2014
·
1 revision
If you are using the new project mechanism, you can skip these instructions: logs are rotated by default by supervisor (however, supervisor doesn’t compress old logs).
If you want compression, you can disable rotation in the supervisor configuration and rotate them with logrotate. Path will be something like /srv/synthese/PROJECT/logs/synthese.log
To avoid having the disk drive filled with log, you should configure log rotation. Here’s a sample logrotate configuration file that will store 7 days of logs and rotate them daily. You can install it in /etc/logrotate.d/s3-server
for instance.
/var/log/rcs/s3-server.log { daily rotate 7 copytruncate missingok notifempty compress }
Sidebar
SYNTHESE Documentation
Specifications
Developer documentation
Database
API
CMS template syntax
Interoperability
Administrator manual