Scott, Thanks again for helping me. The reason I tried to load the config file is, we have quite a few servers and loading all the server logs using one config file gave me "Out of memory". So though will load the config file on demand. BTW, I though File->Load Log4j File is the one used to load xml events. So, what is the difference? Thank you. On 8/26/05, Scott Deboy <[EMAIL PROTECTED]> wrote: > > The File-Load Java Util File menu loads an XML file containing logging > events created by the java.util.logging framework - it doesn't load a > configuration file. > > To have Chainsaw V2 load the same configuration file every time it > starts, go to the application-wide preferences panel and specify the URL > to your configuration file in the configuration URL field at the bottom > of the panel. > > It's possible to make changes to VFSLogFilePatternReceiver to support > tailing, and I plan on making the needed changes at some point, but > don't have the time now. > > Scott > > -----Original Message----- > From: Pugazholi Thyagarasan [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 25, 2005 10:49 PM > To: Log4J Users List > Subject: chainsaw : open config xml error > > Hi > > I get the below error when I try to open my configuration file using > File->Load Java Util File. But it works fine when use the "Let me search > > File->my > configuration file..." when I lauch the chainsaw. > > java.lang.NullPointerException > at java.util.Vector.addAll(Vector.java:845) > at org.apache.log4j.xml.UtilLoggingXMLDecoder.decode( > UtilLoggingXMLDecoder.java:167) > at > org.apache.log4j.chainsaw.FileLoadAction$2.run(FileLoadAction.java:151) > at java.lang.Thread.run(Thread.java:534) > > Is there a way to fix this? > > Another question, is there a way to enable tail on a remote file when I > use > - VFSLogFilePatternReceiver? >
