Skip to main content
Participant
January 8, 2009
Question

Logging Application Errors

  • January 8, 2009
  • 1 reply
  • 473 views
We have recently upgraded from CF5 to CF8. We are finding that application errors that have traditionally been logged to our application.log are NOT in the case that a user receives a custom error page from CFERROR, is there any way to log these errors to the application.log as they were in CF5????

    This topic has been closed for replies.

    1 reply

    Inspiring
    January 8, 2009
    By "custom error page from CFERROR" do you mean that you have something like the snippet below?

    <cferror type="exception" template="error_page.cfm" />

    If so, add a CFLOG call to the contents of error_page.cfm to write to your log. The CF docs have a sample of this.

    http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=Errors_10.html#1103550