commit 68efc6010fda86d62300a687bbd8c52cba232479 (HEAD -> develop,
origin/develop, ticket-3046)
Author: Canh Van Truong <[email protected]>
Date: Tue Jun 18 18:14:08 2019 +0700
log: Delete the older file without closing current log file via admin
operation [#3046]
Improve the enhancement of ticket #3022, the user can rotate (delete) older
log
files without closing current log file.
LOG add new parameter (numberOfFilesToRemove) to admin op command with id =
2.
- If parameter exists, LOGD remove number of older file base on parameter
value
- If parameter is omitted, LOGD rotates log file normally. (closing
current log
file, rotate log file if needed, create new log file)
This helps to avoid creating empty log file or small log file size
---
** [tickets:#3046] log: clean up number of older log file without closing
current log file**
**Status:** review
**Milestone:** 5.19.06
**Created:** Wed May 29, 2019 08:50 AM UTC by Canh Truong
**Last Updated:** Mon Jun 03, 2019 11:24 AM UTC
**Owner:** Canh Truong
Remove some log files after the priod time but the current of log file is not
closed.
It is useful if user doesn't want the log file exist after some days. The
current log file may be empty or don't have too much log records. It just
remove the older log files and don't need to close current log file.
Improve the enhancement of ticket #3022
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list._______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets