User: user57
Date: 02/02/27 16:45:09
Modified: src/docs/developers/guide logging.jsp
Log:
o using xmp tags for xml log4j examples
Revision Changes Path
1.4 +9 -9 newsite/src/docs/developers/guide/logging.jsp
Index: logging.jsp
===================================================================
RCS file: /cvsroot/jboss/newsite/src/docs/developers/guide/logging.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- logging.jsp 26 Feb 2002 08:54:12 -0000 1.3
+++ logging.jsp 28 Feb 2002 00:45:09 -0000 1.4
@@ -1,5 +1,5 @@
<jsp:include page="/developers/head.jsp" flush="true"/>
-<!-- $Id: logging.jsp,v 1.3 2002/02/26 08:54:12 user57 Exp $ -->
+<!-- $Id: logging.jsp,v 1.4 2002/02/28 00:45:09 user57 Exp $ -->
<jsp:include page="/developers/slogan.jsp" flush="true">
<jsp:param name="SLOGAN" value="LOGGING GUIDE"/>
</jsp:include>
@@ -126,33 +126,33 @@
To enable tracing for a particular <tt>JaasSecurityManager</tt> security
domain called <tt>other</tt> add:
-<pre class="output">
+<xmp class="output">
<category name="org.jboss.security.plugins.JaasSecurityManager.other">
<priority value="TRACE" class="org.jboss.logging.XPriority"/>
</category>
-</pre>
+</xmp>
<p>To enable the <tt>TRACE</tt> level priority for all
<tt>JaasSecurityManager</tt> instances add:
-<pre class="output">
+<xmp class="output">
<category name="org.jboss.security.plugins.JaasSecurityManager">
<priority value="TRACE" class="org.jboss.logging.XPriority"/>
</category>
-</pre>
+</xmp>
<p>To enable the <tt>TRACE</tt> level priority for all components in the
<tt>security</tt> package:
-<pre class="output">
+<xmp class="output">
<category name="org.jboss.security">
<priority value="TRACE" class="org.jboss.logging.XPriority"/>
</category>
-</pre>
+</xmp>
<p>You can also redirect a given categories message to a seperate log
file or endpoint by assiging it a different appender. For example,
to redirect all <tt>security</tt> output to a <tt>security.log</tt> file,
and set the security package threshold to <tt>TRACE</tt> use:
-<pre class="output">
+<xmp class="output">
<appender name="SECURIRTYLOG" class="org.apache.log4j.FileAppender">
<param name="File" value="${jboss.home}/log/security.log"/>
<param name="Append" value="false"/>
@@ -166,7 +166,7 @@
<priority value="TRACE" class="org.jboss.logging.XPriority"/>
<appender-ref ref="SECURIRTYLOG"/>
</category>
-</pre>
+</xmp>
<p>For properties style configuration (via log4j.properties):
<pre class="output">
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development