jsvc logging error and out files grow too large
look at how we redirect io from jsvc.
play around with StdOutErrLog. maybe redirect the stdout/err to nothing, ignore it.
#4 Updated by Chris Jones over 8 years ago
- Due date changed from 2013-06-22 to 2013-08-24
- Assignee changed from Robert Waltz to David Doyle
- Target version changed from 2013.24-Block.3.4 to 2013.33-Block.4.4
- Milestone changed from CCI-1.1.2 to CCI-1.3
Log files for jsvc in /var/log/dataone/daemon, etc. get too large. Incorporate them into log rotate's schedule.
#6 Updated by David Doyle about 8 years ago
The following files have been added to /etc/logrotate.d on the sandbox CNs, with rollout to the remaining environments happening this evening.
(EDIT 2/10/2014: added dataone-processing-jsvc-err below.)
#10 Updated by David Doyle almost 8 years ago
Testing revealed error in logrotate due to errant wildcard in dataone-processing-jsvc config file. Logs were rotating, then rotating again immediately, which became worse as more logs were created. Config file dataone-index-jsvc appears to be rotating normally.
Changes made across all CNs:
dataone-processing-jsvc changed from catchall to single-file for dataone-processing-jsvc.log
dataone-processing-jsvc-err added to rotate dataone-processing-jsvc.err
Log directory cleanup to remove/rename bad logs