1. opensymphony
  2. xwork


xwork / docs / wikidocs / Logging.html

        <title>XWork : Logging</title>
	    <link rel="stylesheet" href="styles/site.css" type="text/css" />
        <META http-equiv="Content-Type" content="text/html; charset=UTF-8">	    

	    <table class="pagecontent" border="0" cellpadding="0" cellspacing="0" width="100%" bgcolor="#ffffff">
			    <td valign="top" class="pagebody">
				    <div class="pageheader">
					    <span class="pagetitle">
                            XWork : Logging
				    <div class="pagesubheading">
					    This page last changed on Jun 05, 2004 by <font color="#0050B2">unkyaku</font>.

				    <p class="paragraph">Logging in XWork is handled by <a href="http://jakarta.apache.org/commons/logging" title="Visit page outside Confluence">Commons-Logging</a>.  If Log4J is present in the classpath, logging tasks will be passed through to Log4J.</p>The logger names are the class names.  The pattern used is:
<div class="code"><div class="codeContent">
<pre>Log log = LogFactory.getLog(ThisClass.class);</pre>
</div></div><p class="paragraph">For details on configuring commons-logging, see <a href="http://jakarta.apache.org/commons/logging/guide.html#Configuration" title="Visit page outside Confluence">&#104;ttp://jakarta.apache.org/commons/logging/guide.html#Configuration</a>.</p>

	    <table border="0" cellpadding="0" cellspacing="0" width="100%">
				<td height="12" background="border/border_bottom.gif"><img src="border/spacer.gif" width="1" height="1" border="0"/></td>
			    <td align="center"><font color="grey">Document generated by Confluence on Sep 07, 2004 00:34</font></td>