HDFS-5240. Separate formatting from logging in the audit logger API (daryn)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1525626 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daryn Sharp 2013-09-23 15:33:11 +00:00
parent 3dfadca6f5
commit 7094738d84
2 changed files with 6 additions and 1 deletions

View File

@ -286,6 +286,8 @@ Release 2.3.0 - UNRELEASED
and the excludedNodes parameter types respectively to Node and Set.
(Junping Du via szetszwo)
HDFS-5240. Separate formatting from logging in the audit logger API (daryn)
OPTIMIZATIONS
HDFS-5239. Allow FSNamesystem lock fairness to be configurable (daryn)

View File

@ -6890,10 +6890,13 @@ public class FSNamesystem implements Namesystem, FSClusterStats,
}
sb.append(trackingId);
}
auditLog.info(sb);
logAuditMessage(sb.toString());
}
}
public void logAuditMessage(String message) {
auditLog.info(message);
}
}
}
}