improving filters
logging filter