Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[logging] rework locking around logging
make sure to check/fill data after locking and complete write before release the lock. also use trylock vs lock since most log are called while already locked and it's cleaner. Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
- Loading branch information
Showing
1 changed file
with
16 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters