You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/07/18 03:15:43 UTC

svn commit: r557110 - in /webservices/axis2/trunk/java/modules/saaj: pom.xml test-resources/commons-logging.properties test-resources/log4j.properties

Author: dims
Date: Tue Jul 17 18:15:42 2007
New Revision: 557110

URL: http://svn.apache.org/viewvc?view=rev&rev=557110
Log:
temporarily switch on log.debug to track down a nasty hang problem on dual core linux boxes

Added:
    webservices/axis2/trunk/java/modules/saaj/test-resources/commons-logging.properties
    webservices/axis2/trunk/java/modules/saaj/test-resources/log4j.properties
Modified:
    webservices/axis2/trunk/java/modules/saaj/pom.xml

Modified: webservices/axis2/trunk/java/modules/saaj/pom.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/pom.xml?view=diff&rev=557110&r1=557109&r2=557110
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/pom.xml (original)
+++ webservices/axis2/trunk/java/modules/saaj/pom.xml Tue Jul 17 18:15:42 2007
@@ -44,6 +44,10 @@
 			<artifactId>axis2-kernel</artifactId>
 			<version>${version}</version>
 		</dependency>
+		<dependency>
+			<groupId>log4j</groupId>
+			<artifactId>log4j</artifactId>
+		</dependency>
 	</dependencies>
 	<build>
 		<sourceDirectory>src</sourceDirectory>
@@ -66,6 +70,13 @@
 				<directory>test-resources</directory>
 				<includes>
 					<include>**/*.*</include>
+				</includes>
+			</testResource>
+			<testResource>
+				<targetPath></targetPath>
+				<directory>test-resources</directory>
+				<includes>
+					<include>**/*.properties</include>
 				</includes>
 			</testResource>
 		</testResources>

Added: webservices/axis2/trunk/java/modules/saaj/test-resources/commons-logging.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test-resources/commons-logging.properties?view=auto&rev=557110
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test-resources/commons-logging.properties (added)
+++ webservices/axis2/trunk/java/modules/saaj/test-resources/commons-logging.properties Tue Jul 17 18:15:42 2007
@@ -0,0 +1,30 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# This is the logging properties that goes to the war, there are two logging conf kept at the 
+# svn, one for developement (one at src/test-resources) and other for producation
+ 
+# Uncomment the next line to disable all logging.
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
+
+# Uncomment the next line to enable the simple log based logging
+#org.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
+
+# Uncomment the next line to enable log4j based logging
+org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger

Added: webservices/axis2/trunk/java/modules/saaj/test-resources/log4j.properties
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/saaj/test-resources/log4j.properties?view=auto&rev=557110
==============================================================================
--- webservices/axis2/trunk/java/modules/saaj/test-resources/log4j.properties (added)
+++ webservices/axis2/trunk/java/modules/saaj/test-resources/log4j.properties Tue Jul 17 18:15:42 2007
@@ -0,0 +1,43 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+#
+
+# Set root category priority to INFO and its only appender to CONSOLE.
+#log4j.rootCategory=DEBUG, CONSOLE
+#log4j.rootCategory=INFO, CONSOLE, LOGFILE
+log4j.rootCategory=DEBUG, CONSOLE
+#log4j.rootCategory=ERROR, CONSOLE
+
+
+# Set the enterprise logger priority to FATAL
+log4j.logger.org.apache.axis2.enterprise=DEBUG
+log4j.logger.de.hunsicker.jalopy.io=FATAL
+log4j.logger.httpclient.wire.header=DEBUG
+log4j.logger.org.apache.commons.httpclient=DEBUG
+
+# CONSOLE is set to be a ConsoleAppender using a PatternLayout.
+log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender
+log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout
+log4j.appender.CONSOLE.layout.ConversionPattern=%d %-5p %c - %m%n
+
+# LOGFILE is set to be a File appender using a PatternLayout.
+log4j.appender.LOGFILE=org.apache.log4j.FileAppender
+log4j.appender.LOGFILE.File=axis2.log
+log4j.appender.LOGFILE.Append=true
+log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout
+log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org