yes, I modified the jar. I kept in WEB-INF\lib and it works for me with PARENT_LAST as classloader policy.
On 9/23/05, Juan Cervera <[EMAIL PROTECTED]> wrote: > Hi, > > Those 2 lines would allow me to control just the Axis output, in case I > wanted to have a different debug level than for rootCategory or if I > wanted the Axis debug to go to a different file than the rest. In any > case, I tested without them with the same results. > > Now, what do you mean by putting the log4.properties in the > log4j-1.2.8.jar? You mean you modify that JAR and add to it the > properties file? To what directory inside the JAR? > > And, what do you mean by adding that JAR to the runtime classpath? I > tried putting the JAR in the WEB-INF/lib of the WAR and even put a copy > of it in WAS_HOME/lib, but still no luck. In any case the problem is not > that WAS does not find Log4J, as I said Log4J works, but only prints the > debug of my Web Services, but I don't manage to get the Axis one ... > > Thanks > > > -----Original Message----- > From: Kr [mailto:[EMAIL PROTECTED] > Sent: 23 September 2005 05:31 > To: [email protected]; Juan Cervera > Subject: Re: Axis debug in WAS 5.1 > > Hi, > > If I put below log4j.properties in log4j-1.2.8.jar and put this jar in > my runtime classpath then I am able to see the axis log messages > > log4j.properties > ------------------------ > log4j.rootCategory=DEBUG, appender1 > log4j.appender.appender1=org.apache.log4j.FileAppender > log4j.appender.appender1.File=log4j.log > log4j.appender.appender1.Append=false > log4j.appender.appender1.layout=org.apache.log4j.PatternLayout > log4j.appender.appender1.layout.ConversionPattern=%d %p %c - %m %n > > > Can you please explain these lines : > log4j.logger.org.apache.axis.enterprise=DEBUG, axis-appender > log4j.logger.org.apache.axis.i18n.ProjectResourceBundle=DEBUG, > axis-appender > > > Thanks. > > >
