Add a selective filter for leap logs.
Closes: #3504