diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2019-10-03 21:15:40 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-10-03 21:15:40 +0000 |
commit | d7827a40dfa30bfaa2e3c275ea4bf07d8a1cd159 (patch) | |
tree | bd7171834ed303e70062ef8f5020d48c5a4e47db /src/mongo/db/server_options.h | |
parent | 8cda1be220ab092efb9a8c0657890c4348c701c1 (diff) | |
download | mongo-d7827a40dfa30bfaa2e3c275ea4bf07d8a1cd159.tar.gz |
SERVER-42726 enable logging via logv2
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r-- | src/mongo/db/server_options.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h index 8161061f80d..ed333a8ed13 100644 --- a/src/mongo/db/server_options.h +++ b/src/mongo/db/server_options.h @@ -100,7 +100,8 @@ struct ServerGlobalParams { bool logAppend = false; // True if logging to a file in append mode. bool logRenameOnRotate = true; // True if logging should rename log files on rotate bool logWithSyslog = false; // True if logging to syslog; must not be set if logpath is set. - int syslogFacility; // Facility used when appending messages to the syslog. + bool logV2 = false; // True if logV1 logging statements should get plumbed through to logV2 + int syslogFacility; // Facility used when appending messages to the syslog. #ifndef _WIN32 ProcessId parentProc; // --fork pid of initial process |