diff options
author | Benety Goh <benety@mongodb.com> | 2013-10-15 14:24:45 -0400 |
---|---|---|
committer | Benety Goh <benety@mongodb.com> | 2013-10-15 14:24:45 -0400 |
commit | cc737bb7aaa38fb6ec32f616ab5fc29e124be691 (patch) | |
tree | 31076892fed993d86a6e2cabfaff347ce585a60d /src/mongo/db/server_options.cpp | |
parent | 506fe5ad46b9a0d083af61f4e52a5726f2656949 (diff) | |
download | mongo-cc737bb7aaa38fb6ec32f616ab5fc29e124be691.tar.gz |
SERVER-11160 improved comments describing missing syslog.h facility names
Diffstat (limited to 'src/mongo/db/server_options.cpp')
-rw-r--r-- | src/mongo/db/server_options.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mongo/db/server_options.cpp b/src/mongo/db/server_options.cpp index 99caa9d2772..bbd60e8d684 100644 --- a/src/mongo/db/server_options.cpp +++ b/src/mongo/db/server_options.cpp @@ -48,12 +48,15 @@ namespace mongo { -/** - * SERVER-11160 syslog.h does not define facilitynames under solaris - * If syslog.h exports preprocessor macro INTERNAL_NOPRI if +/* + * SERVER-11160 syslog.h does not define facilitynames under solaris. + * syslog.h exports preprocessor macro INTERNAL_NOPRI if * facilitynames is provided. This will be used to determine * if facilitynames should be defined here. * These could also go into a syslog.h compatibility header. + * We are using INTERNAL_NOPRI as the indicator macro for facilitynames + * because it's defined alongside facilitynames in the syslog.h headers + * that support SYSLOG_NAMES. */ namespace { |