Skip to content

Commit

Permalink
#22 more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yegor Bugayenko committed Nov 20, 2016
1 parent acd52b5 commit 448908d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/java/io/jare/Logs.java
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,13 @@ public void run() {
final Iterator<String> ockets = this.bucket.list("").iterator();
if (ockets.hasNext()) {
final String name = ockets.next();
Logger.info(this, "ocket %s found...", name);
final long bytes = this.process(name);
this.bucket.remove(name);
Logger.info(this, "ocket %s processed, %d bytes", name, bytes);
Logger.info(
this, "ocket %s processed and removed, %d bytes",
name, bytes
);
}
} catch (final IOException ex) {
throw new IllegalStateException(ex);
Expand Down

0 comments on commit 448908d

Please sign in to comment.