Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Logging Application Errors

New Here ,
Jan 08, 2009 Jan 08, 2009
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????

444
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jan 08, 2009 Jan 08, 2009
LATEST
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
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources