See org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver. You'll need the 1.3 alpha chainsaw and log4j jars in your classpath as well as the VFS-required libraries.
You'll also need the target server in your known_hosts file. Configuration is identical to LogFilePatternReceiver except the fileURL can be urls supported by the Jakarta VFS project. Javadoc for VFSLogFilePatternReceiver here: http://cvs.apache.org/viewcvs.cgi/logging-chainsaw/src/java/org/apache/l og4j/chainsaw/vfs/VFSLogFilePatternReceiver.java?rev=1.2&view=markup The VFS docs describe the required libraries for accessing files via sftp: http://jakarta.apache.org/commons/vfs/ Scott -----Original Message----- From: Pugazholi Thyagarasan [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 26, 2005 12:05 PM To: [email protected] Subject: Chainsaw & sftp Hi I am trying to load remote log4j files to Chainsaw from a unix servers. Since the servers only allow secure ftp, I was unable to use the URL with the format - ftp://username:[EMAIL PROTECTED]/mydir/log4j.log. Is there a way to load the log4j log file to Chainsaw using sftp? -- Thanks, Pugazh http://www.imayam.org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
