Added log output filtering