Filtered debug logging