You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
SohamTilekar
changed the title
Writing To File from Different Thread Instead of the Writing at the End of the Program Termination.
How To Limit The Max Ram Buffer
Jul 29, 2024
Our logger currently writes logs to a file only at program termination, risking log loss if the program crashed By External Events. We propose modifying the logger to write logs in real-time from a separate thread, ensuring logs are preserved and immediately available.
This Create the Memory Overhead, It Stores the Log in the RAM Which can Overflow the Ram.
Our logger currently writes logs to a file only at program termination, risking log loss if the program crashed By External Events. We propose modifying the logger to write logs in real-time from a separate thread, ensuring logs are preserved and immediately available.
This Create the Memory Overhead, It Stores the Log in the RAM Which can Overflow the Ram.
did you call log::logger().flush(); method?
But This Can Be Done Automatically in Background Thread with Little to No Overhead.
How Can I Limit the Maxim Ram Buffer.
The text was updated successfully, but these errors were encountered: