|
@@ -153,7 +153,8 @@ public class LogCLIHelpers implements Configurable {
|
|
|
AggregatedLogFormat.LogReader reader = null;
|
|
|
PrintStream out = createPrintStream(localDir, fileName, containerId);
|
|
|
try {
|
|
|
- String containerString = "\n\nContainer: " + containerId;
|
|
|
+ String containerString = "\n\nContainer: " + containerId + " on "
|
|
|
+ + thisNodeFile.getPath().getName();
|
|
|
out.println(containerString);
|
|
|
out.println(StringUtils.repeat("=", containerString.length()));
|
|
|
reader =
|
|
@@ -220,7 +221,7 @@ public class LogCLIHelpers implements Configurable {
|
|
|
thisNodeFile.getPath());
|
|
|
out = createPrintStream(localDir, thisNodeFile.getPath().getName(),
|
|
|
containerId);
|
|
|
- out.println(containerId);
|
|
|
+ out.println(containerId + " on " + thisNodeFile.getPath().getName());
|
|
|
out.println(StringUtils.repeat("=", containerId.length()));
|
|
|
if (logType == null || logType.isEmpty()) {
|
|
|
if (dumpAContainerLogs(containerId, reader, out,
|