Filtering out log messages.