Sometimes logging in your application is meaningful enough that you want to test it. For example, we often use logs as a lightweight alerting mechanism by feeding them into loggly.