LogFilePatternReceiver allows Chainsaw to view logs accessible as a URL (file or http).
If the log file is available via ssh or another file system supported by Commons VFS, you can use org.apache.log4j.chainsaw.vfs.VFSLogFilePatternReceiver to access it. Neither require programming - just the creation of an xml configuration file specifying the file format, location, etc. See the receiver JavaDoc (in Chainsaw under the help menu) for more information (to use VFSLogFilePatternReceiver, you will need to download Chainsaw and modify the classpath - at least until the next update to the WebStart version of Chainsaw). Scott -----Original Message----- From: Legolas Woodland [mailto:[EMAIL PROTECTED] Sent: Mon 1/2/2006 12:30 AM To: Log4J Users List Subject: Re: [chainsaw]How i can view Tomcat log file in Chainsaw Scott Deboy wrote: > LogFilePatternReceiver is the 'receiver' that makes log files available in > Chainsaw. > > You can find an example configuration file from inside Chainsaw: > http://logging.apache.org/log4j/docs/chainsaw.html > > You can find an example Chainsaw configuration file that includes an example > LogFilePatternReceiver section by selecting the 'view example configuration > file' button on the Welcome tab's toolbar. > > You can also view the LogFilePatternReceiver JavaDoc from inside Chainsaw via > the Help menu. > > Post a few entries from your log file and I can give you an example > 'logFormat'. > > Scott > Thank you for reply. I want to see tomcat server.log , as you know it is located in tomcat_home\logs . is it possible to view it in chainsaw or it need some programming ? > -----Original Message----- > From: Legolas Woodland [mailto:[EMAIL PROTECTED] > Sent: Sun 1/1/2006 1:56 PM > To: [email protected] > Subject: [chainsaw]How i can view Tomcat log file in Chainsaw > > Hi > Thank you for reading my post. > I'm developing an application in tomcat. > i need to always look at tomcat log file and refresh the log file > continuously. > now i find out that chainsaw can show a log file very clearly , but i do > not know how to configure it to show tomcat log file. > can some one please give me a sample configuration file ? > > Thank you > > --------------------------------------------------------------------- > 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]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
