diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2013-10-08 17:36:37 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2013-10-11 14:38:43 -0400 |
commit | 3293653f6d6f8d3bcd9e1ae11107923dd056d35e (patch) | |
tree | 8559ce386530aa6e4fbb2a1b481424f247e469e0 /src/mongo/db/audit.cpp | |
parent | 0ffa31cb9e1fdd281710aa872cac27c5ef8e3145 (diff) | |
download | mongo-3293653f6d6f8d3bcd9e1ae11107923dd056d35e.tar.gz |
SERVER-1891 Add audit logging hooks for user management and DDL events.
Diffstat (limited to 'src/mongo/db/audit.cpp')
-rw-r--r-- | src/mongo/db/audit.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp index 5347fafd339..2355f7cb81d 100644 --- a/src/mongo/db/audit.cpp +++ b/src/mongo/db/audit.cpp @@ -173,10 +173,10 @@ namespace audit { void logCreateIndex(ClientBasic* client, const BSONObj* indexSpec, const StringData& indexname, - const StringData& dbname) MONGO_AUDIT_STUB + const StringData& nsname) MONGO_AUDIT_STUB void logCreateCollection(ClientBasic* client, - const StringData& dbname) MONGO_AUDIT_STUB + const StringData& nsname) MONGO_AUDIT_STUB void logCreateDatabase(ClientBasic* client, const StringData& dbname) MONGO_AUDIT_STUB @@ -184,10 +184,10 @@ namespace audit { void logDropIndex(ClientBasic* client, const StringData& indexname, - const StringData& dbname) MONGO_AUDIT_STUB + const StringData& nsname) MONGO_AUDIT_STUB void logDropCollection(ClientBasic* client, - const StringData& dbname) MONGO_AUDIT_STUB + const StringData& nsname) MONGO_AUDIT_STUB void logDropDatabase(ClientBasic* client, const StringData& dbname) MONGO_AUDIT_STUB |