Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete the oldest entry when ringbuffer is full #579

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 10, 2024

  1. Remove the oldest entry when Ringbuffer is full

    add ringbuffer full strategy to control whether remove the oldest log entry or discard new message
    
    on dlt-daemon side in dlt.conf
    when RingbufferFullStrategy = 0:    discard the new message
    when RingbufferFullStrategy = 1:    remove the oldest entry in the ringbuffer
    
    on application side
    export DLT_USER_BUFFER_FULL_STRATEGY=0 to discard new message
    export DLT_USER_BUFFER_FULL_STRATEGY=1 to remove the oldest entry in the ringbuffer
    jianjun-huang committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    d98c70e View commit details
    Browse the repository at this point in the history