Description
Description:
The current logging system outputs all events at the DEBUG level (as shown in the attached screenshot), leading to two main issues:
Excessive log volume - High-frequency debug entries (e.g., 5+ entries within 1 millisecond) cause rapid log growth
Poor log filtering - Critical events are buried in debug noise, making troubleshooting inefficient
Proposed Solution:
Implement log level differentiation following standard practices:
Use INFO level for:
• Service call initialization/entry points
• Service call completion/exit points
Reserve DEBUG level for:
• Detailed process tracing
• Internal state changes (e.g., cache operations shown in logs)
• Memory entry operations
Benefits:
Reduce log volume by 40-60% in normal operation (INFO level default)
Enable targeted debugging with level filtering
Improve operational visibility for key lifecycle events
Additional Context:
Attached logs show repeated DEBUG entries from the Fusion Cache component (memory operations, cache connectivity checks, and GetOrSet operations) that would be better classified as DEBUG, while missing higher-level INFO entries for service boundaries.