Issue 11506

registry-metadata-sync: improve logging

11506
Reporter: kbraak
Assignee: fmendez
Type: Improvement
Summary: registry-metadata-sync: improve logging
Priority: Critical
Resolution: Fixed
Status: Closed
Created: 2012-06-27 12:03:22.477
Updated: 2013-12-16 17:51:01.873
Resolved: 2012-07-02 12:50:34.64
        
Description: By default, the registry-metadata-sync service logs to /logs

A single log file is created per agent.

Unfortunately, where this service was deployed (b7g4), there was only 20GB of space available for the mounted / disk. After running for a couple days, the logs consumed the entire disk space. A single rotated log file was 13GB.

Some nice improvements would be:

1. Rotate logs more often, and also delete old aggregate logs, there's no need to keep these. This will keep the disk space usage down to a minimum.
2. Customize the logging directory, perhaps via a property in the maven profile. This would allow one to log to a disk with more space allocated for example. ]]>
    


Author: fmendez@gbif.org
Created: 2012-07-02 12:50:34.674
Updated: 2012-07-02 12:50:34.674
        
logback configuration modified to avoid big files
location of configuration files moved to the mvn profile