RE: Missing loggers from getCurrentLoggers() under WAS 5.x

2007-01-22 Thread Spies, Brennan
If you want to find the ClassLoader of a class, just do .class.getClassLoader(). Just be careful when using PARENT_LAST in WAS 5.x, because you sometimes get strange behavior, e.g. in my particular case, I got javax.sql.DataSource loaded by a descendant classloader of the actual WebSphere implement

RE: [log4j] Question about XMLLayout

2007-01-11 Thread Spies, Brennan
, Spies, Brennan wrote: > Hi all, > > > > I want to use a file appender that uses XMLLayout to output an XML > file, then > process this XML file with XSLT (Ant's xslt task) during an Ant build > process. The problem is, I am getting an error regarding the "log4j&q

[log4j] Question about XMLLayout

2007-01-11 Thread Spies, Brennan
Hi all, I want to use a file appender that uses XMLLayout to output an XML file, then process this XML file with XSLT (Ant's xslt task) during an Ant build process. The problem is, I am getting an error regarding the "log4j" namespace coming from the output of XMLLayout-namely that it is not de