why not use cflog? if you need to get the data into a db, you can do
it later using bulk loads from the files. you could also implement
log4j in Java if you need very sophisticated logging.

On 9/21/06, Brent Nicholas <[EMAIL PROTECTED]> wrote:
I'm wondering what techniques people have used to do error catching and the
logging of those errors to a DB.

Right now I wrap a CFC call with try/catch in my action template, if it
fails I have a custom tag that is called that breaks the 'cfcatch' variable
scope into it's parts and builds a string, but only so far as the simple
cfcatch keys like 'type'. These are just plain text vs. structures like
'tagContext'. I then take that string and toss it into the db with some
other needed data.

Anyone using any other techniques to get this data and save it?

I've not yet placed error catching into the CFC's since it seems to bubble
up into the calling template.

Thanks,Brent Nicholas - [EMAIL PROTECTED] "I can't afford to make
exceptions. Once word leaks out that a pirate has gone soft, people begin to
disobey you, and then it's nothing but work, work, work, all the time." --
Man in Black - Princess Bride

You are subscribed to cfcdev. To unsubscribe, please follow the instructions
at http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]




--
---------------
Robert Munn
www.funkymojo.com


You are subscribed to cfcdev. To unsubscribe, please follow the instructions at 
http://www.cfczone.org/listserv.cfm

CFCDev is supported by:
Katapult Media, Inc.
We are cool code geeks looking for fun projects to rock!
www.katapultmedia.com

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to