add logging filter