use filter for logs