From 2c3e3bf4c62267ac6a0fe1f5d6a6288a927ace0b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 16 Nov 2007 22:08:52 +0000 Subject: Logging change: --log-enable level:pattern now does a substring match of pattern on the function name, instead of the file name. Allows more precise log filtering. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@595842 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/log/Options.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/log/Options.cpp') diff --git a/cpp/src/qpid/log/Options.cpp b/cpp/src/qpid/log/Options.cpp index a945d5eb35..41a15dcf9f 100644 --- a/cpp/src/qpid/log/Options.cpp +++ b/cpp/src/qpid/log/Options.cpp @@ -43,13 +43,13 @@ Options::Options(const std::string& name) : qpid::Options(name), ("trace,t", optValue(trace), "Enables all logging" ) ("log-enable", optValue(selectors, "RULE"), ("Enables logging for selected levels and components. " - "RULE is in the form 'LEVEL[+][:COMPONENT]' " + "RULE is in the form 'LEVEL[+][:PATTERN]' " "Levels are one of: \n\t "+levels.str()+"\n" "For example:\n" "\t'--log-enable warning+' " "logs all warning, error and critical messages.\n" "\t'--log-enable debug:framing' " - "logs debug messages from the framing component. " + "logs debug messages from the framing namespace. " "This option can be used multiple times").c_str()) ("log-time", optValue(time, "yes|no"), "Include time in log messages") -- cgit v1.2.1