That should work fine, as long as the last WebStart version was built with the vfs.jar build property set.
Note: I had to make sure the server I was trying to access was in my known_hosts file (on windows: in $user.home/ssh) and everything worked fine. Scott Here's an example configuration file. <plugin name="ssh-example" class="org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver"> <param name="fileURL" value="sftp://myusername:[EMAIL PROTECTED]:22/path/to/server.log" /> <param name="timestampFormat" value="yyyy-MM-dd HH:mm:ss,SSS"/> <param name="logFormat" value="TIMESTAMP LEVEL [LOGGER] MESSAGE"/> <param name="tailing" value="true" /> </plugin> -----Original Message----- From: Paul Smith [mailto:[EMAIL PROTECTED] Sent: Thu 1/6/2005 12:39 PM To: Log4J Users List Cc: Subject: Re: chainsaw SocketHubAppender ssh There is a VFSLogFilePatternReceiver that can act as a receiver and access log files from a remote location using Jakarta Commons VFS (which treats many remote locations just like a normal File/Dir, including ssh). IIRC, and Scott should pick me up here, you can use the current Web start version of Chainsaw, but you must place Commons VFS jars and it's dependencies including the ssh libraries it requires in your JAVA_HOME/ext/lib. this is because of classloading behaviour. See: http://jakarta.apache.org/commons/sandbox/vfs/ and http://jakarta.apache.org/commons/sandbox/vfs/download.html You'll need the JSCH library to do ssh/sftp stuff. Scott, care to extend on this? cheers, Paul Smith Amy Drew wrote: > Hi: > > I've been using log4j and chainsaw w/ the SocketHubAppender and > SocketHubReviever from > within an intranet. I would like to use chainsaw for those logs from > outside the intranet, however, > for security reasons those ports are not (and will not be) exposed. I > was thinking of tunneling through ssh, but, > there is no authentication. Any suggestions? > > Cheers, > Amy > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
