diff options
| author | Alan Conway <aconway@apache.org> | 2007-11-16 22:08:52 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-11-16 22:08:52 +0000 |
| commit | 2c3e3bf4c62267ac6a0fe1f5d6a6288a927ace0b (patch) | |
| tree | ad6ca0683acc9e776f6f9e6dd52c895c024635ca /cpp/src/qpid/log/Options.cpp | |
| parent | 493b528a6ba5961613d4ecea7b81f5b3638dc3d9 (diff) | |
| download | qpid-python-2c3e3bf4c62267ac6a0fe1f5d6a6288a927ace0b.tar.gz | |
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
Diffstat (limited to 'cpp/src/qpid/log/Options.cpp')
| -rw-r--r-- | cpp/src/qpid/log/Options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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") |
