better output

This commit is contained in:
Shay Banon 2011-12-21 07:04:49 +02:00
parent 91b60f1d2f
commit c918a68554
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class NodeEnvironment extends AbstractComponent {
if (logger.isTraceEnabled()) { if (logger.isTraceEnabled()) {
StringBuilder sb = new StringBuilder("node data locations details:\n"); StringBuilder sb = new StringBuilder("node data locations details:\n");
for (File file : nodesFiles) { for (File file : nodesFiles) {
sb.append(" -> ").append(file.getAbsolutePath()).append(", free_space [").append(new ByteSizeValue(file.getFreeSpace())).append(", usable_space [").append(new ByteSizeValue(file.getUsableSpace())).append("\n"); sb.append(" -> ").append(file.getAbsolutePath()).append(", free_space [").append(new ByteSizeValue(file.getFreeSpace())).append("], usable_space [").append(new ByteSizeValue(file.getUsableSpace())).append("]\n");
} }
logger.trace(sb.toString()); logger.trace(sb.toString());
} }