Two more comments: - typo on the previous email: if you use the Web Start version the jars go in /documents and settings/username/.chainsaw/plugins - I think I used putty to get the fingerprint in known_hosts in the .ssh directory: http://www.chiark.greenend.org.uk/~sgtatham/putty/
Scott Deboy COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -----Original Message----- From: Scott Deboy [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 8:35 AM To: Log4J Users List Subject: RE: Need help with Chainsaw and VFSLogFilePatternReceiver You need 2 things: - get the latest release from the web site (provides a new option on the receiver so you don't have to embed user/pass in the URI) - you need the target server's fingerprint in /documents and settings/username/.ssh/known_hosts file There is no longer a VFS tab. By the way, you can use the Web Start version of Chainsaw with this receiver now - just add all of the external jars to /documents and settings/.chainsaw/plugins Scott Deboy COMOTIV SYSTEMS 111 SW Columbia Street Ste. 950 Portland, OR 97201 Telephone: 503.224.7496 Cell: 503.997.1367 Fax: 503.222.0185 [EMAIL PROTECTED] www.comotivsystems.com -----Original Message----- From: Giancarlo V Martinez [mailto:[EMAIL PROTECTED] Sent: Fri 3/3/2006 8:32 AM To: Log4J Users List Subject: Need help with Chainsaw and VFSLogFilePatternReceiver All, I have done extensive searching on this topic and now I am at a dead end. Just bear with me and I will tell you all the things I have tried. For some reason I cannot setup a VFSLogFilePatternReceiver in Chainsaw. It can never connect to the file. I am on two windows servers, one running WAS with a file appender running, and the other with Chainsaw using a VFSLogFilePatternReceiver. I can sftp from the command line, on the server with chainsaw, so I know I have network connectivity, and the file can be accessed by all. I have downloaded all the necessary jar files. Here is a listing of my chainsaw directory: Directory of C:\tools\downloads\chainsaw 03/03/2006 09:58 AM <DIR> . 03/03/2006 09:58 AM <DIR> .. 03/03/2006 09:58 AM 401 chainsaw.bat 02/02/2006 06:22 PM 375 chainsaw.sh 02/02/2006 06:22 PM 25,317 commons-logging-api.jar 06/15/2004 09:29 PM 38,015 commons-logging.jar 02/02/2006 06:22 PM 310,823 commons-vfs-1.0-RC3.jar 03/02/2006 06:07 PM 905 configuration.xml 02/02/2006 06:22 PM 71,406 jakarta-oro-2.0.6.jar 03/03/2006 09:57 AM 118,732 jsch-0.1.25.jar 02/02/2006 06:22 PM 356,733 log4j-1.3alpha-7.jar 02/02/2006 06:22 PM 692,429 log4j-chainsaw-2.0alpha-1.jar 02/02/2006 06:22 PM 7,024 log4j-chainsaw-vfs.jar 02/02/2006 06:22 PM 29,254 log4j-db-1.3alpha-7.jar 02/02/2006 06:22 PM 13,894 log4j-jms-1.3alpha-7.jar 02/02/2006 06:22 PM 33,080 log4j-optional-1.3alpha-7.jar 02/02/2006 06:22 PM 35,028 log4j-oro-1.3alpha-7.jar 02/02/2006 06:22 PM 9,072 log4j-smtp-1.3alpha-7.jar 02/02/2006 06:22 PM 22,306 log4j-xml-1.3alpha-7.jar 02/02/2006 06:22 PM 265,396 xstream-1.1.2.jar I have included the necessary jar files in the chainsaw classpath: java -classpath commons-logging-api.jar; commons-logging.jar; commons-vfs-1.0-RC3.jar; jsch-0.1.25.jar; jakarta-oro-2.0.6.jar; log4j-1.3alpha-7.jar;log4j-chainsaw-2.0 alpha-1.jar;log4j-chainsaw-vfs.jar;log4j-db-1.3alpha-7.jar;log4j-jms-1.3 alpha-7.jar;log4j-optional-1.3alpha-7.jar;log4j-oro-1.3 alpha-7.jar;log4j-smtp-1.3alpha-7.jar;log4j-xml-1.3 alpha-7.jar;xstream-1.1.2.jar org.apache.log4j.chainsaw.LogUI And I have setup my chainsaw configuration per examples from previous posts. Here is my chainsaw configuration.xml <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE log4j:configuration > <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="true"> <appender name="A2" class="org.apache.log4j.ConsoleAppender"> <layout class="org.apache.log4j.SimpleLayout"/> </appender> <plugin name="VFSLogFileReceiver" class="org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver"> <param name="fileURL" value="sftp://user:[EMAIL PROTECTED]:22/cygdrive/c/Apps/WebSphere/AppServer/profiles/AppSrv01/logs/server1/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="sampleVFSLogFileReceiver"/> <param name="tailing" value="true"/> </plugin> <root> <level value="debug"/> </root> </log4j:configuration> Anything I might have missed? In one post I read, can't remember which one, I think I remember reading that if VFS is correctly configured in Chainsaw a VFS tab should appear? Exactly where should that appear? On the left hand side of chainsaw? I can now create a VFSLogFilePatternReceiver inside of Chainsaw, by right-clicking and selecting create new recevier. A selection which was not there before. Any help from anyone would be great, even a "huh, no idea what is wrong" would help me out. Thank you, Giancarlo V. Martinez 11501 Burnet Rd 902-4, B-020 Austin TX, 78758 Office: (512)-838-9489; T/L 678-9489; Fax: (512)-823-0035
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
