diff options
author | Andreas Nilsson <andreas.nilsson@mongodb.com> | 2016-07-27 13:22:17 -0400 |
---|---|---|
committer | Andreas Nilsson <andreas.nilsson@mongodb.com> | 2016-07-27 16:21:59 -0400 |
commit | a6fcab0cf4cad4bfee1d65ca2b9bfe0b69970a8f (patch) | |
tree | 326f24a192263ed49e0e9a960c04988393d8d4fa /src/mongo/db/audit.h | |
parent | 96afd7d4dc2f2add75a713b1c594d2cdfb75ee14 (diff) | |
download | mongo-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.h | 5 |
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 |