Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application Name in Application Log

Status
Not open for further replies.

TheJon

Programmer
Mar 11, 2002
71
GB
We run ColdFusion version 5, on Windows 2000 and NT4, under IIS. When an error is written to the application log, we do not get the name of the application which caused the error. Although we are able to determine the application from the path of the template which errored, we are unable to filter for errors in individual applications.

We have set the cfapplication name variable in application.cfm files for all applications, and we have also set the application name in the virtual directory settings under IIS. What have we missed?

The Jon
 
Does anyone know? Do I need to use a custom error handler to add events to the application.log?
 
Yes. The ColdFusion application log is the ColdFusion application log... there really isn't a way to customize the data that gets logged to it.

You'd need to set up your own handler using
Code:
<CFERROR>
and/or
Code:
<CFLOG>
to tailor the log file how you want it.


-Carl
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top