Feature #100
closedHouseKeeping script
100%
Description
Housekeeping on event_log table:
1) Purge/delete records with age older than 2 month, from database.
Housekeeping on logging:
1) Remove/delete logging files with age older than 2 months, from file system.
2) List of files to be cleaned:
- QConnector Server: [Application Log]<../server/default/log/qconnector/>debug/error/info.log.xxxxx
- QConnector Server: [Daemon Log] </var/ecwyconnector>qconnector-batch-debug/error/info.log.xxxxx
- QConnector Server: [Event Report] </usr/ecosway/daemon/qconnector/reports/>xxx.csv
- US Mall Server: [Application Log] <../server/default/log/qconnector/>debug/error/info.log.xxxxx
Setting: Housekeep log file with age older than Y days. Y - 30 days.
Updated by Chooi-Mey over 13 years ago
- Assignee set to chin-yeh
Chooi-Mey wrote:
Housekeeping on event_log table:
1) Purge/delete records with age older than 2 month, from database.Housekeeping on logging:
1) Remove/delete logging files with age older than 2 months, from file system.
2) List of files to be cleaned:
- QConnector Server: <..\server\default\log\qconnector\>debug/error/info.log.xxxxx
- QConnector Server: </var/ecwyconnector>qconnector-batch-debug/error/info.log.xxxxx
- US Mall Server: Incomplete list <TBD>
...to be updated.Note: Low priority.
Updated by chin-yeh over 13 years ago
- Due date set to 05/05/2011
- Status changed from New to In Progress
- Estimated time set to 4:00 h
Updated by chin-yeh over 13 years ago
- Status changed from In Progress to Feedback
- % Done changed from 0 to 100
- Resolution set to Fixed
- See Housekeeping for general info about housekeeping
- See Scheduled Tasks for the proposed time to run the housekeeping jobs
- remove daemon log:
/usr/ecosway/housekeeping/scripts/delete_old_daemon_log_files.sh
- remove old report:
/usr/ecosway/housekeeping/scripts/delete_old_report_files.sh
- remove old application log:
/usr/ecosway/housekeeping/scripts/delete_old_webapp_log_files.sh
- remove old application log: (both jboss-4.2.2 & jboss-5.1)
/usr/ecosway/housekeeping/scripts/delete_old_webapp_log_files.sh