Skip to content

Commit

Permalink
#99 more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Apr 2, 2018
1 parent 8a46b27 commit 647b3f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/jcabi/dynamo/QueryValve.java
Expand Up @@ -396,8 +396,9 @@ public Dosage next() {
Logger.info(
this,
// @checkstyle LineLength (1 line)
"#next(): loaded %d item(s) from '%s' using %s, %s, in %[ms]s",
"#next(): loaded %d item(s) from '%s' and stopped at %s, using %s, %s, in %[ms]s",
rslt.getCount(), rqst.getTableName(),
rslt.getLastEvaluatedKey(),
rqst.getKeyConditions(),
new PrintableConsumedCapacity(
rslt.getConsumedCapacity()
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/jcabi/dynamo/ScanValve.java
Expand Up @@ -264,8 +264,9 @@ public Dosage next() {
Logger.info(
this,
// @checkstyle LineLength (1 line)
"#next(): loaded %d item(s) from '%s' using %s, %s, in %[ms]s",
"#next(): loaded %d item(s) from '%s' and stopped at %s, using %s, %s, in %[ms]s",
rslt.getCount(), rqst.getTableName(), rqst.getScanFilter(),
rslt.getLastEvaluatedKey(),
new PrintableConsumedCapacity(
rslt.getConsumedCapacity()
).print(),
Expand Down

0 comments on commit 647b3f8

Please sign in to comment.