Skip to content

fix(core): log last processed message ID in LDAPc and Auditlogger

Pavel Zlámal requested to merge zlamalp/lastid into main

Description

fix(core): log last processed message ID in LDAPc and Auditlogger

  • Log last processed message ID when LDAPc/Auditlogger are started so we know from where we start.
  • Log last processed message ID when writing to the last state file fails.

How to test

run the component, see the message in the logs.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

This should help us when something fills up the whole hdd and we can't write last state to the file (logging running in memory should still work so we can copy message id before clearing the space, rebooting the machine etc.).

Related issues

none

Edited by Pavel Zlámal

Merge request reports