Author: gordonsim
Date: 2008-11-06 12:30:20 -0500 (Thu, 06 Nov 2008)
New Revision: 2759
Modified:
store/trunk/cpp/lib/MessageStoreImpl.cpp
Log:
Fixed typos
Altered option name to avoid auto-expand being a substring of auto-expand-max-jfiles as
this causes
ambiguous option error when trying to set on platforms with boost 1.33
Modified: store/trunk/cpp/lib/MessageStoreImpl.cpp
===================================================================
--- store/trunk/cpp/lib/MessageStoreImpl.cpp 2008-11-06 16:06:16 UTC (rev 2758)
+++ store/trunk/cpp/lib/MessageStoreImpl.cpp 2008-11-06 17:30:20 UTC (rev 2759)
@@ -328,11 +328,11 @@
QPID_LOG(info, "> Default files per journal: " << jfiles);
QPID_LOG(info, "> Auto-expand " << (autoJrnlExpand ?
"enabled" : "disabled"));
if (autoJrnlExpand) QPID_LOG(info, "> Max auto-expand journal files: "
<< autoJrnlExpandMaxFiles);
- QPID_LOG(info, "> Default jrournal file size: " << jfileSizePgs
<< " (wpgs)");
+ QPID_LOG(info, "> Default journal file size: " << jfileSizePgs
<< " (wpgs)");
QPID_LOG(info, "> Default write cache page size: " <<
wCachePageSizeKib << " (Kib)");
QPID_LOG(info, "> Default number of write cache pages: " <<
wCacheNumPages);
QPID_LOG(info, "> TPL files per journal: " << tplNumJrnlFiles);
- QPID_LOG(info, "> TPL jrournal file size: " << tplJfileSizePgs
<< " (wpgs)");
+ QPID_LOG(info, "> TPL journal file size: " << tplJfileSizePgs
<< " (wpgs)");
QPID_LOG(info, "> TPL write cache page size: " <<
tplWCachePageSizeKib << " (Kib)");
QPID_LOG(info, "> TPL number of write cache pages: " <<
tplWCacheNumPages);
return true;
@@ -1762,7 +1762,7 @@
("auto-expand", qpid::optValue(autoJrnlExpand, "yes|no"),
"If yes|true|1, allows journal to auto-expand by adding additional
journal files as needed. "
"If no|false|0, the number of journal files will remain fixed
(num-jfiles).")
- ("auto-expand-max-jfiles", qpid::optValue(autoJrnlExpandMaxFiles,
"N"),
+ ("max-auto-expand-jfiles", qpid::optValue(autoJrnlExpandMaxFiles,
"N"),
"Maximum number of journal files allowed from auto-expanding; must
be greater than --num-jfiles parameter.")
("jfile-size-pgs", qpid::optValue(jrnlFsizePgs, "N"),
"Default size for each journal file in multiples of read pages (1
read page = 64kiB)")
Show replies by date