[jboss-user] [Beginners Corner] - Re: Help needed for Logging SAR files

riji do-not-reply at jboss.com
Tue Nov 14 08:09:29 EST 2006

hi Jaikiran, Sorry for late reply.

Here is my log4j.xml

<?xml version="1.0" encoding="UTF-8"?>
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">


      <appender-ref ref="test"/>
      <appender-ref ref="SunAm"/>

I have 2 appenders and I want my logs to go to both the log files. This is not happeneing. Only to ${jboss.server.home.dir}/log/test.log the logs are written. the other appender is at container level.

My SAR structure is given below.

   com-all class files
   WEB-INF/lib- all jars

It would be very grateful if you would be able to help me in this regard.

Thanks in advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985765#3985765

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985765

More information about the jboss-user mailing list