axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramya K Grama <ramyakgr...@gmail.com>
Subject Fwd: Log4J axis2.log file is empty
Date Thu, 04 Jun 2009 19:44:41 GMT
Hi there,

I am trying to setup log4j logging in my axis2 web service running on Tomcat
5.5.

The jars are in the right place.



However, the axis2.log file that gets created is empty with no contents.



My log4j.properties file is:

log4j.rootCategory=DEBUG, CONSOLE, LOGFILE



# Set the enterprise logger priority to FATAL

log4j.logger.org.apache.axis2.enterprise=FATAL

log4j.logger.de.hunsicker.jalopy.io=FATAL

log4j.logger.httpclient.wire.header=FATAL

log4j.logger.org.apache.commons.httpclient=FATAL



# 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 [%p] %m%n



# LOGFILE is set to be a File appender using a PatternLayout.

log4j.appender.LOGFILE=org.apache.log4j.RollingFileAppender

log4j.appender.LOGFILE.File=axis2.log

log4j.appender.LOGFILE.Append=true

log4j.appender.LOGFILE.MaxBackupIndex=1

log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout

log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n





Any help is highly appreciated.

Thanks,

RG

Mime
View raw message