filter out empty logs
Merge pull request #2854 from dimagi/pillow

filter out empty logs