summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-11-07 23:34:34 +0000
committerAlan Conway <aconway@apache.org>2007-11-07 23:34:34 +0000
commit9df2509ae1f7cc49f0f08baf2960b9f3ea3454b1 (patch)
treebff784ffc984cb9b6ccb06808c4268a047fba799 /cpp/src/qpid
parent985737b06a78b22b69be55493d1af04a5e2b16a0 (diff)
downloadqpid-python-9df2509ae1f7cc49f0f08baf2960b9f3ea3454b1.tar.gz
Change options --log.foo to --log-foo for consistency.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@592956 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid')
-rw-r--r--cpp/src/qpid/log/Options.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/qpid/log/Options.cpp b/cpp/src/qpid/log/Options.cpp
index 592c10a48a..a945d5eb35 100644
--- a/cpp/src/qpid/log/Options.cpp
+++ b/cpp/src/qpid/log/Options.cpp
@@ -36,30 +36,30 @@ Options::Options(const std::string& name) : qpid::Options(name),
for (int i = 1; i < LevelTraits::COUNT; ++i)
levels << " " << LevelTraits::name(Level(i));
addOptions()
- ("log.output", optValue(outputs, "FILE"),
+ ("log-output", optValue(outputs, "FILE"),
"Send log output to FILE. "
"FILE can be a file name or one of the special values:\n"
"stderr, stdout, syslog")
("trace,t", optValue(trace), "Enables all logging" )
- ("log.enable", optValue(selectors, "RULE"),
+ ("log-enable", optValue(selectors, "RULE"),
("Enables logging for selected levels and components. "
"RULE is in the form 'LEVEL[+][:COMPONENT]' "
"Levels are one of: \n\t "+levels.str()+"\n"
"For example:\n"
- "\t'--log.enable warning+' "
+ "\t'--log-enable warning+' "
"logs all warning, error and critical messages.\n"
- "\t'--log.enable debug:framing' "
+ "\t'--log-enable debug:framing' "
"logs debug messages from the framing component. "
"This option can be used multiple times").c_str())
- ("log.time", optValue(time, "yes|no"),
+ ("log-time", optValue(time, "yes|no"),
"Include time in log messages")
- ("log.level", optValue(level,"yes|no"),
+ ("log-level", optValue(level,"yes|no"),
"Include severity level in log messages")
- ("log.source", optValue(source,"yes|no"),
+ ("log-source", optValue(source,"yes|no"),
"Include source file:line in log messages")
- ("log.thread", optValue(thread,"yes|no"),
+ ("log-thread", optValue(thread,"yes|no"),
"Include thread ID in log messages")
- ("log.function", optValue(function,"yes|no"),
+ ("log-function", optValue(function,"yes|no"),
"Include function signature in log messages");
}