CDR Tickets

Issue Number 4247
Summary Archive and Truncate SFTP Log Files
Created 2017-03-23 18:49:39
Issue Type Improvement
Submitted By Englisch, Volker (NIH/NCI) [C]
Assigned To Englisch, Volker (NIH/NCI) [C]
Status Closed
Resolved 2018-03-22 14:41:38
Resolution Fixed
Path /home/bkline/backups/jira/ocecdr/issue.205294
Description

The FTP log files contain 4 years of log data and the files are getting bigger than necessary. I'd like to shrink the files to keep a year's worth of data and archive the rest.
The files are

  • Jobmaster.log

  • SendEmail.log

On PROD these files are copied via a cronjob to the directory
/CDR/qa/log
and we have read access for these files.

The file ftp_vendors.db which is also copied can be deleted.

Comment entered 2018-02-16 07:43:59 by Kline, Bob (NIH/NCI) [C]

: please assign story points for this ticket.

Comment entered 2018-03-22 14:40:47 by Englisch, Volker (NIH/NCI) [C]

This ticket is another OBE. Since we moved our "FTP" processing off the FTP server with the change to the public ssh-key authentication we're not writing to these two log files anymore.

I've copied the two log files and I'm attaching a compress copy of them to this ticket.

Attachments
File Name Posted User
FTP-Logs-20130710-20170906.zip 2018-03-22 14:41:13 Englisch, Volker (NIH/NCI) [C]

Elapsed: 0:00:00.000564