views:

1823

answers:

5

I'm looking for a log viewer with similar capablilties as Chainsaw, in which I can tail Glassfish log files over for instance SSH/SCP. Does anyone know if such a tool exist?

+1  A: 

Does Chainsaw with the VFS plugin not do that?

Stephen Denne
Can you point to the VFS plugin?
Kristian
See http://logging.apache.org/chainsaw/distributionnotes.html
Stephen Denne
Looks great, but it apperars that the server I currently use does not support SFTP, only SCP.
Kristian
+1  A: 

From other post:

  1. Configure putty to write out a log file from the connection.
  2. Do the log analysis against the putty log file.
Kristian
+1  A: 

I have put together something that allows me to use java.util logging with GlassFish and Chainsaw. Sources etc. here: http://blog.cotopia.com/2009/10/sending-glassfish-javautil-log-records.html

Zero Effort
Cool, I will have to give it a try
Kristian
A: 

VFSLogFilePatternReceiver uses Jakarta Commons-VFS, so it supports SFTP and SCP. See: http://commons.apache.org/vfs/filesystems.html#SFTP

Scott
A: 

OtrosLogViewer user VFSFileSystems and can load logs from remote server (ftp, sftp, smb, http). It supports java.util.logging.XMLFormatter and java.util.logging.SimpleFormatter. See: http://code.google.com/p/otroslogviewer/

OtrosSystems