Yeah... 

I wondered if it might be better to pass the Appender, and use something like Logback's ListAppender, and just compare the lengths of the log. I assume this function is trying to show that 'some log output was generated' ?