diff options
-rw-r--r-- | src/mongo/db/audit.cpp | 7 | ||||
-rw-r--r-- | src/mongo/db/audit.h | 8 |
2 files changed, 15 insertions, 0 deletions
diff --git a/src/mongo/db/audit.cpp b/src/mongo/db/audit.cpp index 4c320fed716..ce5f44285ca 100644 --- a/src/mongo/db/audit.cpp +++ b/src/mongo/db/audit.cpp @@ -273,6 +273,13 @@ void logUpdateCachedClusterParameter(Client* client, invariant(client); } +void logRotateLog(Client* client, + const Status& logStatus, + const std::vector<Status>& errors, + const std::string& suffix) { + invariant(client); +} + #endif } // namespace audit diff --git a/src/mongo/db/audit.h b/src/mongo/db/audit.h index bfc7cee3794..106aca30e40 100644 --- a/src/mongo/db/audit.h +++ b/src/mongo/db/audit.h @@ -437,6 +437,14 @@ void logUpdateCachedClusterParameter(Client* client, const BSONObj& oldValue, const BSONObj& newValue); +/** + * Logs details of log file being rotated out to the file that is being rotated + * in + */ +void logRotateLog(Client* client, + const Status& logStatus, + const std::vector<Status>& errors, + const std::string& suffix); } // namespace audit } // namespace mongo |