You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by sd...@apache.org on 2004/07/22 08:49:57 UTC
cvs commit: logging-log4j/src/java/org/apache/log4j/chainsaw/help tutorial.html
sdeboy 2004/07/21 23:49:57
Modified: src/java/org/apache/log4j/chainsaw/help tutorial.html
Log:
Clarified use of msg ~= shortcut syntax to explain the shortcut syntax will only work by itself (not in combination with other operators or expressions).
Revision Changes Path
1.14 +1 -0 logging-log4j/src/java/org/apache/log4j/chainsaw/help/tutorial.html
Index: tutorial.html
===================================================================
RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/chainsaw/help/tutorial.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- tutorial.html 22 Jul 2004 06:27:40 -0000 1.13
+++ tutorial.html 22 Jul 2004 06:49:57 -0000 1.14
@@ -178,6 +178,7 @@
<ul>
<li>Since it is very common need to perform a case-insensitive partial-text match against the Message field, any single word or any single phrase (the phrase must be delimited by single-quote marks) will act as a rule defined using the MSG ~= syntax.</li>
<li>Example: to search the Message field for the phrase 'logged in', instead of defining the expression <b>MSG ~= 'logged in'</b>, use <b>'logged in'</b> by itself (including the single quotes). Instead of using <b>MSG ~= evaluation</b> to search for the word 'evaluation', use <b>evaluation</b> by itself (no need for single quotes since it's a single word).</li>
+<li><b>NOTE:</b> This shortcut syntax is designed to be used to search for <b>single words or phrases only</b>, and will not work when used in combination with other operators or expressions. When building complex expressions, use the <B>MSG ~=</B> syntax.</li>
</ul>
<p><b>Operator limitations:</b></p>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org