adamwill / 389-ds-base

Forked from 389-ds-base 4 years ago
Clone

0f5d020 Issue 50536 - Audit log heading written to log after every update

Authored and Committed by mreynolds 4 years ago
    Issue 50536 - Audit log heading written to log after every update
    
    Bug Description:  Once the audit log is rotated the log "title" is incorrectly
                      written to the log after every single update.  This happened
                      becuase when we udpated the state of the log it was applied
                      to a local variable, and not the log info structure itself.
    
    Fix Description:  After writting 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
    
    Reviewed by: lkrispenz(Thanks!)
    
        
file modified
+7 -7