Thanks a lot and I will try it out.

Bin


>From: Karl Moss <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: JRun-Talk <[EMAIL PROTECTED]>
>Subject: RE: Tools monitoring log file
>Date: Fri, 17 Nov 2000 09:23:25 -0500
>
>And, for those who like concrete examples, here's how to modify
>local.properties to route all messages to the standard log file and, in
>addition, send any warning and error messages to an email address:
>
>logging.threadedlogger.listeners=filelogwriter,emailwriter
>
>logging.emailwriter.class=allaire.jrun.logging.SmtpLogWriter
>logging.emailwriter.from=JRun
>[EMAIL PROTECTED]
>logging.emailwriter.host=myMailHost
>logging.emailwriter.loglevel=warning,error
>
>The first line (logging.threadedlogger.listeners) augments the default
>behavior (which is to send messages to the log file) by also sending each
>log message to the 'emailwriter'.
>
>The rest of the properties setup the 'emailwriter' logger (see Chapter 37 
>of
>"Developing Applications with JRun"). Whenever messages with the loglevel 
>of
>'warning' or 'error' are received an email will be generated and sent to 
>the
>corresponding address. The subject will be the message and the body will
>contain the same information found in the log (timestamp, message, stack
>trace, etc.).
>
>Hope this helps,
>
>Karl Moss
>Allaire, Corp.
>
>-----Original Message-----
>From: Robin Haffner [mailto:[EMAIL PROTECTED]]
>Sent: Friday, November 17, 2000 7:32 AM
>To: JRun-Talk
>Subject: RE: Tools monitoring log file
>
>
>Bin,
>JRun has built-in features that provide information that can be used for
>isolating bottlenecks, identifying threading issues and identifying areas 
>of
>your application that cause performance or reliability failure. They
>include:
>� Metrics -HTTP request throughput
>� The Interceptor -(JRun Instrumentation)timings for method calls
>� Logging -logging available (file, email, db etc.)
>
>JRun includes a logging utility that requires little overhead that enables
>you to forward run-time information to a file, the screen or an email
>message.
>
>For more information on these features see Chapters 36(Metrics), 
>37(Logging)
>and 39(Instrumentation) in Developing Applications with JRun.
>
>HTH,
>Robin
>
>-----Original Message-----
>From: Bin Zhou [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, November 16, 2000 8:21 PM
>To: JRun-Talk
>Subject: Tools monitoring log file
>
>
>Hi List,
>
>I am wondering if there is any tool for me to look through Jrun log files 
>to
>
>find some entry and send an email to me if it finds a new entry of some
>Exception.
>
>More specifically, I want it to check all Jrun logs once an hour and if it
>finds exception, it send me a email.  I do not know if Jrun itself has such
>a tool.
>
>Thanks,
>
>Bin
>____________________________________________________________________________
>_________
>Get more from the Web.  FREE MSN Explorer download : 
>http://explorer.msn.com
>
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Your ad could be here. Monies from ads go to support these lists and 
>provide
>more resources for the community. http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Your ad could be here. Monies from ads go to support these lists and 
>provide
>more resources for the community. http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Your ad could be here. Monies from ads go to support these lists and 
>provide more resources for the community. 
>http://www.fusionauthority.com/ads.cfm
>
>Archives: http://www.mail-archive.com/[email protected]/
>Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to