diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-08-17 11:54:51 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-09-08 21:01:42 -0400 |
commit | 4dc43cd451f58d59d63e1516f9b0c52f3bb1dd9d (patch) | |
tree | 8fb4179ca0f88d3bfedb537428684197cde70252 /src/mongo/logger | |
parent | 9271c08121a0f511b3326a8a2eca449a6a523309 (diff) | |
download | mongo-4dc43cd451f58d59d63e1516f9b0c52f3bb1dd9d.tar.gz |
SERVER-19585: Implement full-time diagnostic data capture MongoD integration
Diffstat (limited to 'src/mongo/logger')
-rw-r--r-- | src/mongo/logger/log_component.cpp | 4 | ||||
-rw-r--r-- | src/mongo/logger/log_component.h | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/logger/log_component.cpp b/src/mongo/logger/log_component.cpp index b33d449642c..0382abb8692 100644 --- a/src/mongo/logger/log_component.cpp +++ b/src/mongo/logger/log_component.cpp @@ -119,6 +119,8 @@ StringData LogComponent::toStringData() const { return createStringData("journal"); case kWrite: return createStringData("write"); + case kFTDC: + return createStringData("ftdc"); case kNumLogComponents: return createStringData("total"); // No default. Compiler should complain if there's a log component that's not handled. @@ -183,6 +185,8 @@ StringData LogComponent::getNameForLog() const { return createStringData("JOURNAL "); case kWrite: return createStringData("WRITE "); + case kFTDC: + return createStringData("FTDC "); case kNumLogComponents: return createStringData("TOTAL "); // No default. Compiler should complain if there's a log component that's not handled. diff --git a/src/mongo/logger/log_component.h b/src/mongo/logger/log_component.h index 741c63d5ed3..4fdac77e12d 100644 --- a/src/mongo/logger/log_component.h +++ b/src/mongo/logger/log_component.h @@ -57,6 +57,7 @@ public: kStorage, kJournal, kWrite, + kFTDC, kNumLogComponents }; |