better output
This commit is contained in:
parent
91b60f1d2f
commit
c918a68554
|
@ -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());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue