Added log filtering