I am trying to write a simple error page that will get called on any CF errors. When an error occurs, I want to write the error information to a log file using cflog. Currently, I am testing this by killing my database and loading pages. I get the error page I created, but I the logging doesn't seem to work. If I call the page directly, the logging works like I expect.
This is what I have in the application.cfm <cferror type="request" template="/development/cditty/mac/error.cfm"> This is what is at the bottom of the error.cfm page. <cflog file="mac_errors" text="Exception error Exception type: #Error.type#, Template: #Error.template#, Remote Address: #Error.remoteAddress#, HTTP Reference: #error.HTTPReferer#, Diagnostics: #Error.diagnostics#"> I know the error structure isn't there unless there is an actual error. For direct calling, I just change the text and it is recorded in the log file. Any advice? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276745 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4