Skip to content
Snippets Groups Projects
  • Walter Lozano's avatar
    2e59623a
    Fix journalctl cursor use · 2e59623a
    Walter Lozano authored
    
    Using --after-cursor in combination with -t audit does produces the expected
    output since the filtering logic is applied before and after that the cursor
    is moved to next valid entry. In this case, using --after-cursor will cause
    the output to miss the first entry in the log.
    
    Fix the issue by using --cursor instead.
    
    Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>
    2e59623a
    History
    Fix journalctl cursor use
    Walter Lozano authored
    
    Using --after-cursor in combination with -t audit does produces the expected
    output since the filtering logic is applied before and after that the cursor
    is moved to next valid entry. In this case, using --after-cursor will cause
    the output to miss the first entry in the log.
    
    Fix the issue by using --cursor instead.
    
    Signed-off-by: default avatarWalter Lozano <walter.lozano@collabora.com>