Processing XML log files generated using log4j

2009-03-23 Thread sasuke
Hi all. In my project, I'm using a custom layout which spits out XML elements using a custom Layout class [which extends Layout] along with a File appender. Thus I end up with a XML file which looks like: The thing I'm trying to achieve here is to write a component which allows me to query

Re: problem with log4j...Help Please!!!

2009-03-23 Thread Ceki Gulcu
The error means that you have two copies of log4j.jar loaded into memory at the same time by two different class loaders. Classes loaded by different class loaders are incompatible even if the classes are bitwise identical. Pedro Moreno wrote: So the error I get at the output is the followin

problem with log4j...Help Please!!!

2009-03-23 Thread Pedro Moreno
Hi I’m very desperate with this problema. I’ve spent all day searching on Internet about this issue and trying several solution but no one works. The Problem is: I have a Sip client which implements a OSGI framework and one of the bundle is a log4j.jar, exactly release log4j-1.2.8. I want to integ

Re: multiple apps single log4j.xml

2009-03-23 Thread Jacob Kjome
On 3/23/2009 12:01 AM, ravindra wrote: > Thanks for the reply Jake, > > Let me explain clearly about my configuration. I have placed > log4j.xml file in Tomcat's conf folder and log4j.jar is in lib directory of > Tomcat. And I have another log4j.jar in each of the 3 applications in > webapps