Scott and Jake, Thanks to your help, now it works, It seems that my fileURL was not containing the complete host-domain name (it works for pscp with only the hostname but not with chainsaw/jsch).
If Scott has information about the PromptForUserInfo availability, I'm still interested. Thanks a lot, Bruno ****************************************** Here are my installation/config notes (if it could help someone to use the VFSLogFilePatternReceiver): Use chainsaw VFSLogFilePatternReceiver on a windows machine to see remote files on a linux server: - install chainsaw-bundle (unzip the chainsaw-bundle.zip) and start/stop it (for the .chainsaw directory to be created in the user's Home directory). - create a plugins directory in %Home\.chainsaw\ and copy the following jars in it: commons-loggin-xxx.jar, commons-net-xxx.jar, commons-vfs-xxx.jar, jakarta-oro-xxx.jar, jsch-xxx.jar, log4j-chainsaw-vfs.jar (see the chainsaw documentation page for urls to download the jars) - If it does not exist, create a known_hosts file in the %HOME/.ssh (to create the .ssh directory on windows, use the ms-dos command as windows explorer does not allow it). In the known_hosts file create a line for the remote host containing the log files to be read (use a ssh client, create it by copying the line from a linux server or use the class Jake provide in previous thread). Rk: as putty use registry keys to store known_hosts, it doesn't create lines in the known_hosts file - define the VFSLogFilePatternReceiver in your chainsaw configuration file: for example, add the following lines to your-config-file.xml: <plugin name="VFSLogFilePatternReceiverNoUserInfoPrompt" class="org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver"> <param name="fileURL" value="sftp://user:[EMAIL PROTECTED]:22/path/to/file/logfile.ext> <param name="timestampFormat" value="yyyy-MM-dd HH:mm:ss,SSS"/> <param name="logFormat" value="TIMESTAMP LEVEL [LOGGER] MESSAGE"/> <param name="name" value="sampleLogFilePatternReceiver"/> <param name="tailing" value="true"/> </plugin> (the LogFormat param value has to match your logfile's format, see Help -> Receiver Javadoc->org...LogFilePatternReceiver in chainsaw for more info about the log format) - the host.domain in the fileURL has to be the complete hostname and has to match exactly with the line in the known_hosts file - start chainsaw - in the application-wide preferences, check "Ok to remove SecurityManager" and set your config-file URL in the Automatic Configuration URL (for example file:///C:/config_chainsaw/chainsaw-jboss.xml) - stop and start chainsaw - the tab corresponding to the remote file should appear in chainsaw. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]