modified filter for logs