Logging Errors in Database

2007-02-21 Thread John Sterrett
I am curious to see what decisions your guys have made towards logging errors. Currently, I need to store detailed information about errors in a database. The scope of my engagement includes all web browsers. Therefore, I want to log user web browser (#CGI.HTTP_USER_AGENT#) and also user ids

RE: Logging Errors in Database

2007-02-21 Thread Dave Watts
I am curious to see what decisions your guys have made towards logging errors. Currently, I need to store detailed information about errors in a database. The scope of my engagement includes all web browsers. Therefore, I want to log user web browser (#CGI.HTTP_USER_AGENT#) and also

Re: Logging Errors in Database

2007-02-21 Thread Robertson-Ravo, Neil (RX)
:48 2007 Subject: RE: Logging Errors in Database I am curious to see what decisions your guys have made towards logging errors. Currently, I need to store detailed information about errors in a database. The scope of my engagement includes all web browsers. Therefore, I want to log user

Re: Logging Errors in Database

2007-02-21 Thread Claude Schneegans
Therefore, I want to log user web browser (#CGI.HTTP_USER_AGENT#) Not really useful. Differences in browser can cause script errors on client side, but are rarely responsible for errors on server. Use CFERROR, collect anything you can, like session variables, etc. and store it in a memo

RE: Logging Errors in Database

2007-02-21 Thread Mik Muller
First, wrapping your entire page with CFTRY is an awful idea. Don't do that. Forgive me for being dense, but why is it an awful idea? System resources? Granularity on code? Just sloppy or lazy? Currently I have certain pages wrapped in a cftry and in the cfcatch I send myself an email as

Re: Logging Errors in Database

2007-02-21 Thread Robertson-Ravo, Neil (RX)
89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions. Visit our website at http://www.reedexpo.com -Original Message- From: Mik Muller To: CF-Talk Sent: Wed Feb 21 18:43:07 2007 Subject: RE: Logging Errors in Database First

RE: Logging Errors in Database

2007-02-21 Thread Dave Watts
Forgive me for being dense, but why is it an awful idea? System resources? Granularity on code? Just sloppy or lazy? Currently I have certain pages wrapped in a cftry and in the cfcatch I send myself an email as well as give the user a polite apology for any inconvenience. It's the