|
@@ -59,6 +59,8 @@ public class ContainersMonitorImpl extends AbstractService implements
|
|
|
|
|
|
private final static Logger LOG =
|
|
|
LoggerFactory.getLogger(ContainersMonitorImpl.class);
|
|
|
+ private final static Logger AUDITLOG =
|
|
|
+ LoggerFactory.getLogger(ContainersMonitorImpl.class.getName()+".audit");
|
|
|
|
|
|
private long monitoringInterval;
|
|
|
private MonitoringThread monitoringThread;
|
|
@@ -595,8 +597,8 @@ public class ContainersMonitorImpl extends AbstractService implements
|
|
|
* maxVCoresAllottedForContainers /nodeCpuPercentageForYARN);
|
|
|
long vmemLimit = ptInfo.getVmemLimit();
|
|
|
long pmemLimit = ptInfo.getPmemLimit();
|
|
|
- if (LOG.isDebugEnabled()) {
|
|
|
- LOG.debug(String.format(
|
|
|
+ if (AUDITLOG.isDebugEnabled()) {
|
|
|
+ AUDITLOG.debug(String.format(
|
|
|
"Memory usage of ProcessTree %s for container-id %s: ",
|
|
|
pId, containerId.toString()) +
|
|
|
formatUsageString(
|