summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.cpp
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2013-10-08 17:36:37 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2013-10-11 14:38:43 -0400
commit3293653f6d6f8d3bcd9e1ae11107923dd056d35e (patch)
tree8559ce386530aa6e4fbb2a1b481424f247e469e0 /src/mongo/db/audit.cpp
parent0ffa31cb9e1fdd281710aa872cac27c5ef8e3145 (diff)
downloadmongo-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.cpp8
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