https://issues.apache.org/bugzilla/show_bug.cgi?id=55213
Scott Deboy <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Scott Deboy <[email protected]> --- As you mentioned, SocketHubAppender/Receiver are for processing 'live' events. The latest developer snapshot of Chainsaw supports Apache Commons-VFS file systems, which means you can process (and tail) log files accessible via ssh/sftp, and remove the need to use SocketHubAppender and SocketHubReceiver (assuming those log files are accessible via ssh). Here's how: Use the 'File, Load Chainsaw configuration' menu item, select 'process a log file', change the Log file format type to 'PatternLayout format' and provide the patternLayout used by your log file. Provide the URL to your log file. If the log file is on a remote server accessible via ssh, use an sftp:// URL. See the Commons-VFS docs for more info on the format of sftp:// URLs. Check the 'always start Chainsaw with this configuration if you'd like, but I would recommend saving the configuration off through the 'save configuration as' button. Apache Commons-VFS and its support for ssh via the SFTP file system: http://commons.apache.org/proper/commons-vfs/filesystems.html#SFTP Location of the latest developer snapshot of Chainsaw: http://people.apache.org/~sdeboy/ Since this isn't a bug, I'm going to close the issue. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
