- added better log handling (minor fix to enable log filtering)