When you do a try/catch block to catch errors, there are cfcatch variables available to you for output. You can get a list of thes ein ColdFusion studio by clicking your right mouse button and selecting insert expression. And then selecting the variables folder and then cfcatch variables.
> -----Original Message----- > From: Rex Vincent J. Aglibot [mailto:[EMAIL PROTECTED]] > Sent: 26 August 2002 20:53 > To: [EMAIL PROTECTED] > Subject: Re: [ cf-dev ] log all cfqueries > > > Would the SQL statement that displays on the page that you're > debugging be stored in a variable? I set my server to > display SQL statements (through cfadmin, debug options, show > query information) and other info on my web pages when > debugging them, and I was wondering if the SQL is stored in a > var, so I can just write this into a log file. Is that possible? > > Rex > > ----- Original Message ----- > From: "Russ Michaels" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, August 26, 2002 12:20 PM > Subject: RE: [ cf-dev ] log all cfqueries > > > > Have a look at the <CFLOG> tag for writing custom entries > to the log > > file. > > > > Russ > > > > > > > -----Original Message----- > > > From: Rex Vincent J. Aglibot [mailto:[EMAIL PROTECTED]] > > > Sent: 26 August 2002 20:25 > > > To: [EMAIL PROTECTED] > > > Subject: [ cf-dev ] log all cfqueries > > > > > > > > > Is there a way to log the datasource name and SQL > statement for each > > > query executed? > > > > > > I know that you can set the debugging options to display > the record > > > count, processing time and theSQL statement for each > query executed, > > > but I don't want to display it, I want to log it somewhere. > > > > > > any help please? > > > > > > Rex > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > For human help, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] For > > human help, e-mail: [EMAIL PROTECTED] > > > > > > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] For human help, e-mail: > [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
