summaryrefslogtreecommitdiff
path: root/src/mongo/db/audit.h
diff options
context:
space:
mode:
authorAndreas Nilsson <andreas.nilsson@mongodb.com>2016-07-27 13:22:17 -0400
committerAndreas Nilsson <andreas.nilsson@mongodb.com>2016-07-27 16:21:59 -0400
commita6fcab0cf4cad4bfee1d65ca2b9bfe0b69970a8f (patch)
tree326f24a192263ed49e0e9a960c04988393d8d4fa /src/mongo/db/audit.h
parent96afd7d4dc2f2add75a713b1c594d2cdfb75ee14 (diff)
downloadmongo-a6fcab0cf4cad4bfee1d65ca2b9bfe0b69970a8f.tar.gz
SERVER-24780 Create audit log entry for setParameter command
Diffstat (limited to 'src/mongo/db/audit.h')
-rw-r--r--src/mongo/db/audit.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h
index 54c07aa1d77..7af615ff5e4 100644
--- a/src/mongo/db/audit.h
+++ b/src/mongo/db/audit.h
@@ -299,6 +299,11 @@ void logRemoveShard(ClientBasic* client, StringData shardname);
*/
void logShardCollection(ClientBasic* client, StringData ns, const BSONObj& keyPattern, bool unique);
+/**
+ * Logs the result of a setParameter command.
+ */
+void logSetParameter(ClientBasic* client,
+ const std::map<std::string, BSONElement>& parametersToSet);
/*
* Appends an array of user/db pairs and an array of role/db pairs