summaryrefslogtreecommitdiff
path: root/src/mongo/logger/log_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/logger/log_manager.h')
-rw-r--r--src/mongo/logger/log_manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/logger/log_manager.h b/src/mongo/logger/log_manager.h
index 6cf7565c5c4..a2ca582e124 100644
--- a/src/mongo/logger/log_manager.h
+++ b/src/mongo/logger/log_manager.h
@@ -29,6 +29,7 @@
#pragma once
+#include <boost/optional.hpp>
#include <string>
#include "mongo/logger/component_message_log_domain.h"
@@ -88,7 +89,7 @@ private:
DomainsByNameMap _domains;
ComponentMessageLogDomain _globalDomain;
- ComponentMessageLogDomain::AppenderHandle _defaultAppender;
+ boost::optional<ComponentMessageLogDomain::AppenderHandle> _defaultAppender;
};
} // namespace logger