summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/db/audit.cpp7
-rw-r--r--src/mongo/db/audit.h8
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