You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrf-commits@ws.apache.org by jr...@apache.org on 2005/07/21 17:42:05 UTC

svn commit: r220114 - /webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml

Author: jruzzi
Date: Thu Jul 21 08:42:03 2005
New Revision: 220114

URL: http://svn.apache.org/viewcvs?rev=220114&view=rev
Log:
new topic

Added:
    webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml

Added: webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml
URL: http://svn.apache.org/viewcvs/webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml?rev=220114&view=auto
==============================================================================
--- webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml (added)
+++ webservices/wsrf/trunk/src/site/content/xdocs/dev_guide/debug.xml Thu Jul 21 08:42:03 2005
@@ -0,0 +1,32 @@
+<?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>Apache WSRF 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 Apache WSRF 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, Apache WSRF 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 Apache WSRF 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>