querying the CFMX log file
I am trying to implement a scheduled task that will query the applicatin log file and dump any new error messages into an email and send it to a person montoring the application. This was simple with CF5 and the Merchent Text driver. Is there any way to do this with CFMX? Thank you in advance. Matt ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275171 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: querying the CFMX log file
Matthew Friedman wrote: I am trying to implement a scheduled task that will query the applicatin log file and dump any new error messages into an email and send it to a person montoring the application. This was simple with CF5 and the Merchent Text driver. Is there any way to do this with CFMX? I've got something sorta similar - an error log viewer. It reads in the application and exception log files, and parses through and associates the exception log entries with the right application log entry and displays 20 rows at a time. I can toss you that script if you'd like, and you can probably hack it up to suit your own needs. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275172 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: querying the CFMX log file
I am trying to implement a scheduled task that will query the applicatin log file and dump any new error messages into an email and send it to a person montoring the application. I'm sure others will chime in, but another way to handle this is to set up the CFERROR tag or onError method in Application.cfc to automatically email you when an exception occurs. Much easier than what you're trying to do, and sends you the email immediately rather than wait until your scheduled task fires. -- Josh ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275173 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4