Events4: efficient log filter

Can anyone post an efficient log filter to only the important messages on the console and remove all the mail, agent and connections information ?