Project

General

Profile

Task #7765

Add "logrotate" capability as part of the GMN deployment

Added by Mark Servilla almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Target version:
-
Start date:
2016-05-04
Due date:
% Done:

0%

Story Points:
Sprint:

Description

GMN log content (gmn.log, gmn_replication.log, and gmn_sysmeta.log) can be quite verbose and voluminous, causing filesystem congestion and viewing frustration. Most Linux derivatives support a system mechanism for automated log rotation, such as the "logrotate" application. Add "logrotate" capability as part of the GMN deployment, including appropriate documentation. See below for a sample "logrotate" script:

"/var/local/dataone/gmn/lib/python2.7/site-packages/service/*.log" {
size=100M
compress
missingok
notifempty
}

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)