adding logging filter