CPC G06F 11/3476 (2013.01) [G06F 3/067 (2013.01); G06F 3/0608 (2013.01); G06F 3/0652 (2013.01); G06F 16/162 (2019.01); G06F 16/172 (2019.01)] | 20 Claims |
1. A log system, comprising:
a management system; and
a computing system that includes:
a plurality of log generating components; and
a storage system that provides at least a portion of a log database, wherein the computing system is configured to:
receive a request from the management system to store first log information generated by each of the plurality of the log generating components;
determine that second log information that is stored in the log database is at least a size threshold;
perform, in response to determining that the second log information that is stored in the log database is at least the size threshold, a log database clean operation on the second log information that includes:
adding a subset of a plurality of second log files that are included in the second log information to a delete list based on respective factor weight for the subset of the plurality of second log files until a delete list size of the delete list is at least a deleted log file size that is the larger of (1) an available storage capacity in the log database that is sufficient to store the first log information, and (2) a difference of a log file size of the second log information and the size threshold; and
deleting the subset of the plurality of second log files that were added to the delete list to provide an available storage capacity in the log database is sufficient to store the first log information; and
store, in response to the log database clean operation on the second log information providing the available storage capacity in the log database that is sufficient to store the first log information, the first log information in the log database.
|