Add a selective filter for leap logs.
Closes: #3504
Merge remote-tracking branch 'kali/feature/logging-filter' into develop