#50537 Issue 50536 - Audit log heading written to log after every update
Closed by spichugi. Opened by mreynolds.
mreynolds/389-ds-base cockpit-logging  into  master

Download 50537.patch

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

rebased onto 71d7ca07aa27bc7932f839ed51ff60e8710eb32d

Pull-Request has been merged by mreynolds

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This pull request has been cloned to Github as issue and is available here:
- https://github.com/389ds/389-ds-base/issues/3593

If you want to continue to work on the PR, please navigate to the github issue,
download the patch from the attachments and file a new pull request.

Thank you for understanding. We apologize for all inconvenience.

Pull-Request has been closed by spichugi

Metadata