Ticket #294 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

Improve CFLogLogger messages when exception occurs in DB

Reported by: peterfarrell Owned by: peterfarrell
Priority: major Milestone: Mach-II 1.8.0 alpha
Component: framework - logging Version: 1.8.0 - Framework
Keywords: CFLogLogger log logging Cc: jlcox@…, kurtwiersma
Blocking: Blocked By:

Description

When using the CFLogLogger to write to the server log for fatal errors, the error message for a db query exception is not optimal:

[MachII.framework.RequestHandler] Error Executing Database Query. :: coldfusion.tagext.sql.QueryTag$DatabaseQueryException: Error Executing Database Query.

It might be appropriate to give more detailed information about the nature of the query error.

Attachments

Change History

Changed 10 months ago by peterfarrell

Joel, great suggestion and definitely something that needs additional refinement. For some reason Askimet (our spam filter) marked your ticket as spam and it was never entered. I added the content manually and added you as CC (don't worry - your email address is masked unless the person is logged into Trac which as this point is team members only).

Changed 10 months ago by peterfarrell

  • status changed from new to assigned

Will add even more information for the "fatal" logging that the request handler is doing (which is just the cfcatch.message). Alternatively, the level of error will give you information on the listener, event-handler or subroutine that the exception occurred in.

Changed 10 months ago by peterfarrell

  • status changed from assigned to closed
  • resolution set to fixed

(In [1561]) - Added additional information from the cfcatch for the level message in the request handler closes #294

Add/Change #294 (Improve CFLogLogger messages when exception occurs in DB)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.