rackerlabs/atom-hopper — pull request #264 by shintasmith (2013-12-05 20:41:33+00:00)
Title: B-61218: add logging for when we're returning less entries than the limit parameter

This change is to add logging when and only when we return less entries than the limit parameter. To do this, I introduced a configurable parameter: enableLoggingOnShortPage for the JdbcFeedSource. If set to true, then we log that we are returning less entries than the specified limit parameter. I also log the UUID. The log output looks like this:
```
2013-12-05 13:23:55 214536 [http-bio-8080-exec-1] WARN org.atomhopper.jdbc.adapter.JdbcFeedSource - User requested usagetest7/events feed with limit 200, but returning only 62
2013-12-05 13:23:55 214551 [http-bio-8080-exec-1] WARN org.atomhopper.jdbc.adapter.JdbcFeedSource - UUIDs: 23c558467941, urn:uuid:ad2c59c4-d401-4fa0-8088-d74577d14492, 19509c93c550, urn:uuid:880649b8-854e-4764-b2a9-9ea914823511, 967a1902703f, urn:uuid:902c00af-f1f8-4668-ba43-0e069dd35705, 8b889cd7bc5f,...
```

I only did this for the jdbc adapter because this logging is Rax specific. I can't think of any reasons why other people would want this.

To turn on this logging, you configure application-context.xml, like this:
```

false

true

60

```