filter module for postgresql logging