Log Management Apparatus Semaphore-Based Retention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In systems where trace information is managed for identifying abnormalities, such as resource failures, the large volume of normal operational data makes it time-consuming to identify relevant abnormality information, and limited memory capacity leads to premature removal of crucial trace information, especially in distributed systems where resource management is complex.
Innovation Solution
A log management apparatus that associates log information with identification information and only deletes log information when the semaphore returns to its initial value, ensuring that irrelevant log information is removed while preserving information relevant to analyzing malfunctions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If trace information is stored for a long period to ensure sufficient investigation time, then the reliability of abnormality analysis is improved, but the memory capacity is exceeded and storage system becomes overwhelmed
Solution Approach 1:
The system performs preliminary classification of trace information into normal and abnormal categories during the tracing process. By pre-identifying and flagging abnormal trace information, the system prepares the data structure in advance to enable efficient retrieval during investigations without requiring long-term storage of all trace data.
Solution Approach 2:
The invention extracts and separates abnormal trace information from the large volume of normal operational traces. By removing normal trace data after a certain period while preserving abnormal traces, the system maintains analysis reliability for anomalies without overwhelming memory capacity with irrelevant normal operation data.
2Loss of information
If all trace information is retained in memory for comprehensive analysis, then the completeness of investigation data is improved, but the time required to identify relevant abnormality information increases
Solution Approach 1:
The system performs preliminary classification and tagging of trace information during normal operation, marking abnormal traces with identification flags. This preliminary action during data collection enables rapid filtering and retrieval during investigations, eliminating the need to manually search through all trace data and significantly reducing identification time while maintaining data completeness.
3Productivity
If trace information is removed early to free memory capacity, then the storage system efficiency is improved, but critical abnormality information may be lost
Solution Approach 1:
The invention extracts and separates abnormal trace information from normal operational traces using classification logic. By identifying and extracting only the critical abnormal data that needs long-term retention, the system can safely remove normal traces to free memory capacity while ensuring that no critical abnormality information is lost.
Solution Approach 2:
The system applies different retention policies to different types of trace information based on their local characteristics. Normal operational traces are retained for a short period and then removed, while abnormal traces are preserved indefinitely. This localized quality differentiation optimizes storage efficiency while maintaining analysis reliability for critical events.
Data Source
AI summary
A log management apparatus includes a memory configured to store log information and identification information in association with each other, and a processor configured to store, in association with first identification information in the memory, first log information output, before a semaphore returns to an initial value but after the semaphore decreases from the initial value, from a program employing the semaphore, associate the first identification information with information relative to deletion of the log information when the semaphore has returned to the initial value, and perform deletion of the first log information among the log information stored in the memory in accordance with the first identification information associated with the information.


