}
}
LOG.info("Uploading logs for container " + containerId);
LogKey logKey = new LogKey(containerId);
LogValue logValue = new LogValue(this.rootLogDirs, containerId);
try {
this.writer.append(logKey, logValue);
} catch (IOException e) {
LOG.error("Couldn't upload logs for " + containerId
+ ". Skipping this container.");