Library tutorials & articles

Implementing Error Logging

Why use error logging?

Reason #1

In production, I create an agent that monitors the error table and notifies me via e-mail once an error occurs. If you are monitoring multiple sites, this can be extremely handy and useful. The detailed error information allows me to get to the root of the problem quickly.

Reason #2

The typical development staff usually has one or two master gurus monitoring several junior code warriors. The average day is usually spent helping them track-down simple coding errors. Well, what if you could give them a way to trace down the errors without bugging you every 30 minutes? This would definitely increase productivity within the development shack. The error.asp contains all the ASP error codes as well as a detailed description for each error. This page can be routinely updated to display fixes and things to try before running to the master gurus.

Reason #3

As a manager it is important to monitor the effectiveness of your staff. By logging errors you can track common mistakes and address them with a training class.

Reason #4

When you have 6 to 12 web developers it is a lot easier to query a table for information, than trying to drain it out of the new hire or freshly minted consultant. Besides, it really scares them when you call their extension and tell them the answer to the question that they were getting ready to ask you =).

Comments

  1. 05 Sep 2006 at 03:27

    I have a problem in coding in vb.net. The statement

    da.Fill(ds "client") has an unhandled exception of type 'System.Data.SqlClient.SqlException'

    please help me debug this statement.

  2. 04 Jul 2002 at 09:43
    You said...If this is the level of illiteracy that one is to expect from Harborview Solutions and Carvin Wilson, it's good to know before you write them a check .


    This 'check' you would write them squiddy, for a last sum of money is it?

    Illiterate....Mmmm!
  3. 23 Mar 2002 at 00:42

    It's always good when an employee of a consulting company posts their sample code to the Web.  That lets you check up on them and gauge their level of competence.  If this is the level of illiteracy that one is to expect from Harborview Solutions and Carvin Wilson, it's good to know before you write them a check.  The web is cool.  


    Sorry, losers.  But if I ever want invalid code, have "trapple errors", need to kill "them their objects", am "Unabled to allocate the required memory," have "The function return exception_name," then I'll be sure to call Harborview Solutions.  

  4. 01 Jan 1999 at 00:00

    This thread is for discussions of Implementing Error Logging.

Leave a comment

Sign in or Join us (it's free).

Carvin Wilson
AddThis

Related podcasts

  • Scott Guthrie

    Scott catches up with Scott Guthrie in an interview covering Ajax, Asp 2.0, extender controls, CSS adapters and more.

Want to stay in touch with what's going on? Follow us on twitter!