Once the audit log is rotated the log "title" is incorrectly written to the log after every single update. This happened because when we updated the state of the log it was applied to a local variable, and not the log info structure itself.
Fix Description:
After writing the "title", update the state of the log using a pointer to the log info structure.
Bug Description:
Once the audit log is rotated the log "title" is incorrectly written to the log after every single update. This happened because when we updated the state of the log it was applied to a local variable, and not the log info structure itself.
Fix Description:
After writing the "title", update the state of the log using a pointer to the log info structure.
relates: https://pagure.io/389-ds-base/issue/50536