Fixed #SWS-93: new location for log4j.properties

This commit is contained in:
Arjen Poutsma
2007-04-02 10:59:45 +00:00
parent 033e87af0f
commit d1dd81e2b4
5 changed files with 12 additions and 23 deletions

View File

@@ -39,6 +39,9 @@ Package org.springframework.ws.wsdl.wsdl11.builder
Package org.springframework.xml.stream
* prefixed all abstract classes with Abstract
Samples
* fixed #SWS-93: new location for log4j.properties
Changes in version 1.0-M3
-------------------------
Package org.springframework.oxm.castor

View File

@@ -269,6 +269,7 @@
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
@@ -333,4 +334,4 @@
<version>0.8</version>
</dependency>
</dependencies>
</project>
</project>

View File

@@ -0,0 +1,7 @@
log4j.rootLogger=WARN, stdout
log4j.logger.org.springframework.ws=DEBUG
log4j.logger.org.springframework.xml=DEBUG
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n

View File

@@ -1,15 +0,0 @@
log4j.rootLogger=WARN, stdout, logfile
log4j.logger.org.springframework.oxm=DEBUG
log4j.logger.org.springframework.ws=DEBUG
log4j.logger.org.springframework.xml=DEBUG
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d %p [%c] - %m%n
log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=${airline.root}/WEB-INF/airline.log
log4j.appender.logfile.MaxFileSize=512KB
log4j.appender.logfile.MaxBackupIndex=3
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p [%c] - %m%n

View File

@@ -8,10 +8,6 @@
<param-name>webAppRootKey</param-name>
<param-value>airline.root</param-value>
</context-param>
<context-param>
<param-name>log4jConfigLocation</param-name>
<param-value>/WEB-INF/log4j.properties</param-value>
</context-param>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
@@ -22,9 +18,6 @@
classpath:org/springframework/ws/samples/airline/ws/applicationContext-ws.xml
</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.util.Log4jConfigListener</listener-class>
</listener>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>