Skip to content

Commit

Permalink
Missing \n in console logging when corruption events occur.
Browse files Browse the repository at this point in the history
  • Loading branch information
chirino committed Dec 14, 2011
1 parent 79ccade commit 1aa3156
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions leveldb/src/main/java/org/iq80/leveldb/impl/LogMonitors.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ public static LogMonitor logMonitor() {
@Override
public void corruption(long bytes, String reason)
{
System.out.print(String.format("corruption of %s bytes: %s", bytes, reason));
System.out.println(String.format("corruption of %s bytes: %s", bytes, reason));
}

@Override
public void corruption(long bytes, Throwable reason)
{
System.out.print(String.format("corruption of %s bytes", bytes));
System.out.println(String.format("corruption of %s bytes", bytes));
reason.printStackTrace();
}
};
Expand Down

0 comments on commit 1aa3156

Please sign in to comment.