Better log filtering in test.