a7dfa38 Ticket 49995 - Fix issues with internal op logging

Authored and Committed by mreynolds 5 years ago
    Ticket 49995 - Fix issues with internal op logging
    
    Bug Description:
    -----------------
    
    At server startup the server's internal operatons performed by bootstrapping
    occurred before the thread data was initialized.  This caused random values in
    the logging counters [1].
    
    It was also observed that nested operations(and nested-nested operations, etc)
    were not properly logged  [2].
    
    Fix Description:
    -----------------
    
    [1]  Move the thread initialization higher up in main()
    
    [2]  Changed the way we log nested internal operations.  Instead, we keep the
    internal op number the same for nested ops but also now display the nested level.
    
    https://pagure.io/389-ds-base/issue/49995
    
    Reviewed by: lkrispenz, amsharma, firstyear (Thanks!)
    
        
file modified
+5 -3
file modified
+5 -3
file modified
+9 -11
file modified
+5 -3
file modified
+5 -3
file modified
+18 -10
file modified
+4 -1