Add filtering to logger to make things easier to debug