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:
parent
3dfadca6f5
commit
7094738d84
@ -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)
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user