logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott Deboy" <sde...@comotivsystems.com>
Subject RE: pluginDirectory cannot be null
Date Wed, 30 Aug 2006 19:05:50 GMT
LogFilePatternReceiver can only load regular text log files, not
XML-based log files.  

To load XML-based load files, you can use the 'file-load log4j file'
menu, or pull the source for Log4j 1.3, build it and use
org.apache.log4j.xml.LogFileXMLReceiver (not yet available from the Web
Start distribution - will be available after the next log4j 1.3 alpha

Scott Deboy
Principal Engineer
111 SW Columbia Street Ste. 950
Portland, OR  97201
Telephone: 503.224.7496
Cell: 503.997.1367
Fax: 503.222.0185

-----Original Message-----
From: Christopher Benson-Manica [mailto:ataru@sdf.lonestar.org] 
Sent: Wednesday, August 30, 2006 6:33 AM
To: log4j-user@logging.apache.org
Subject: pluginDirectory cannot be null

I am running Chainsaw using the supplied batch file, and am getting
the dreaded "pluginDirectory cannot be null, yada yada" error message
on loading Chainsaw.   Here is my setup:

 Volume in drive C has no label.
 Volume Serial Number is C400-7795

 Directory of C:\bin\chainsaw

08/29/2006  04:04 PM    <DIR>          .
08/29/2006  04:04 PM    <DIR>          ..
03/02/2006  01:49 PM               351 chainsaw.bat
03/02/2006  01:49 PM               361 chainsaw.sh
03/02/2006  01:49 PM            71,406 jakarta-oro-2.0.6.jar
03/02/2006  01:49 PM            88,173 jmdns.jar
03/02/2006  01:49 PM           356,733 log4j-1.3alpha-7.jar
03/02/2006  01:49 PM           806,086 log4j-chainsaw-2.0alpha-1.jar
03/02/2006  01:49 PM            33,080 log4j-optional-1.3alpha-7.jar
03/02/2006  01:49 PM            35,028 log4j-oro-1.3alpha-7.jar
03/02/2006  01:49 PM             9,072 log4j-smtp-1.3alpha-7.jar
03/02/2006  01:49 PM            22,306 log4j-xml-1.3alpha-7.jar
03/02/2006  01:49 PM             6,022 log4j-zeroconf.jar
03/02/2006  01:49 PM           265,396 xstream-1.1.2.jar
              12 File(s)      1,694,014 bytes
               2 Dir(s)  46,276,349,952 bytes free


.impl.Log4JLogger -classpath
ream-1.1.2.jar org.apache.log4j.chainsaw.LogUI
Using font=Arial
Wanting to add a row, but GUI not initialized, waiting...
Writing MRU ->C:\Documents and Settings\bmanica\.chainsaw\mru.xml


So everything conceivable seems to be taken care of by the batch file.
Here is the configuration file I am using...

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration >
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
   <plugin name="LogFileReceiver"
     <param name="fileURL" value="file:///h:/log.xml"/>
     <param name="timestampFormat" value="yyyy-MM-dd HH:mm:ss,SSS"/> 
     <param name="logFormat" value="TIMESTAMP LEVEL [LOGGER] MESSAGE"/> 
     <param name="name" value="foo"/>
     <param name="tailing" value="true"/> 
      <level value="debug"/>

What am I missing about why this isn't working?

C. Benson Manica

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message