aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-12-23 12:04:14 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2012-12-23 12:04:14 +0100
commitee505cf229d193a011c2564733bff102404291ab (patch)
tree4ec4f7c9ef787a2a40dacfa53d4a71878ba7d7b8
parentafbfd905b8f5326d149ba7fdfd784af50d85e5ee (diff)
downloadesper-testing-ee505cf229d193a011c2564733bff102404291ab.tar.gz
esper-testing-ee505cf229d193a011c2564733bff102404291ab.tar.bz2
esper-testing-ee505cf229d193a011c2564733bff102404291ab.tar.xz
esper-testing-ee505cf229d193a011c2564733bff102404291ab.zip
o Better logging.
-rw-r--r--src/main/java/io/trygvis/esper/testing/core/TablePoller.java2
-rw-r--r--src/main/java/io/trygvis/esper/testing/core/badge/UnbreakablePoller.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/core/TablePoller.java b/src/main/java/io/trygvis/esper/testing/core/TablePoller.java
index 4c31ce5..612a087 100644
--- a/src/main/java/io/trygvis/esper/testing/core/TablePoller.java
+++ b/src/main/java/io/trygvis/esper/testing/core/TablePoller.java
@@ -82,7 +82,7 @@ public class TablePoller<A> {
c.commit();
long end = currentTimeMillis();
- logger.info("COMMIT performed in {}ms", end - start);
+ logger.debug("COMMIT performed in {}ms", end - start);
Thread.sleep(10 * 1000);
}
diff --git a/src/main/java/io/trygvis/esper/testing/core/badge/UnbreakablePoller.java b/src/main/java/io/trygvis/esper/testing/core/badge/UnbreakablePoller.java
index 7a57fda..16f8ee8 100644
--- a/src/main/java/io/trygvis/esper/testing/core/badge/UnbreakablePoller.java
+++ b/src/main/java/io/trygvis/esper/testing/core/badge/UnbreakablePoller.java
@@ -43,7 +43,7 @@ public class UnbreakablePoller implements TablePoller.NewRowCallback<BuildDto> {
Daos daos = new Daos(c);
List<UUID> persons = daos.buildDao.selectPersonsFromBuildParticipant(build.uuid);
- logger.info("Processing build={}, #persons={}", build.uuid, persons.size());
+ logger.info("Processing build={}, success={}, #persons={}", build.uuid, build.success, persons.size());
for (UUID person : persons) {
logger.info("person={}", person);