Skip to content

Commit

Permalink
Print human readable time when initializing a new block store with a …
Browse files Browse the repository at this point in the history
…checkpoint.
  • Loading branch information
schildbach committed Aug 8, 2015
1 parent e978ff4 commit 7f8a5ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ public static void checkpoint(NetworkParameters params, InputStream checkpoints,
time -= 86400 * 7;

checkArgument(time > 0);
log.info("Attempting to initialize a new block store with a checkpoint for time {}", time);
log.info("Attempting to initialize a new block store with a checkpoint for time {} ({})", time, Utils.dateTimeFormat(time * 1000));

BufferedInputStream stream = new BufferedInputStream(checkpoints);
CheckpointManager manager = new CheckpointManager(params, stream);
Expand Down

0 comments on commit 7f8a5ed

Please sign in to comment.