You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pubscribe-commits@ws.apache.org by jr...@apache.org on 2005/07/21 17:40:07 UTC
svn commit: r220111 -
/webservices/pubscribe/trunk/src/site/content/xdocs/dev_guide/debug.xml
Author: jruzzi
Date: Thu Jul 21 08:40:06 2005
New Revision: 220111
URL: http://svn.apache.org/viewcvs?rev=220111&view=rev
Log:
new topic
Added:
webservices/pubscribe/trunk/src/site/content/xdocs/dev_guide/debug.xml
Added: webservices/pubscribe/trunk/src/site/content/xdocs/dev_guide/debug.xml
URL: http://svn.apache.org/viewcvs/webservices/pubscribe/trunk/src/site/content/xdocs/dev_guide/debug.xml?rev=220111&view=auto
==============================================================================
--- webservices/pubscribe/trunk/src/site/content/xdocs/dev_guide/debug.xml (added)
+++ webservices/pubscribe/trunk/src/site/content/xdocs/dev_guide/debug.xml Thu Jul 21 08:40:06 2005
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN"
+ "http://forrest.apache.org/dtd/document-v20.dtd">
+<document>
+ <header>
+ <title>Logging</title>
+ </header>
+ <body>
+ <section>
+ <title>Introduction</title>
+ <p>Pubscribe uses the Apache Commons Logging Framework with Log4j as the underlying logging system. You can configure Log4j using the log4j.properties
+ file. This includes changing log levels or where the output is emitted (e.g. stdout, log file, etc...). The properties file is located in the Pubscribe Web application in
+ the WEB-INF/classes directory.
+ </p>
+ </section>
+ <section>
+ <title>Changing Log Levels</title>
+ <p>Log4j uses the following log levels: DEBUG, INFO, WARN, ERROR, and FATAL. By default, Pubscribe is configured to emit INFO messages. To see more
+ detailed log messages, you must change the log level. The following example assumes Tomcat.</p>
+ <p>To change the logging level:</p>
+ <ol>
+ <li>Using a text editor, open the log4j.properties file located in the WEB-INF/classes directory of the deployed Pubscribe Web application.</li>
+ <li>Change the log level associated with the <code>log4j.category.org.apache.ws</code> package. For example:<source>
+log4j.category.org.apache.ws=DEBUG</source>
+ </li>
+ <li>Save the log4j.properties file.</li>
+ <li>Restart Tomcat.
+ <note>Log messages are displayed in Tomcat's standard output. If you are not using Tomcat, you may need to configure your Web container to include the output
+ in its standard output.</note>
+ </li>
+ </ol>
+ </section>
+ </body>
+</document>