Tracing to database

F

Fresno Bob

I was looking at tracing and the way you can write to an axd file. Is there
any way of writing this information to a database but only when the page
errors.
 
F

Fresno Bob

Ha ha :) I was thinking - write to db if you can. Just because a given line
of code generates an SqlException doesn't mean the database can't be written
to.
 
H

HillBilly

I've observed most developers write their logs to the file system directly
as it doesn't get any more fundamental than that. Some mail themselves an
alert. All the code snippets are out there to be found regardless of where
you want to put it.

In fact I just had a clever thought about logging the exceptions to a blog
which is where the word came from in the first place. Hmmmm not a bad
concept; everything old is new again.
 
S

Sriram Srivatsan

Log4Net is a good choice I would suppose. Does most of the stuff to do and
its powerful, extensible and multi-threaded.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,985
Messages
2,570,199
Members
46,766
Latest member
rignpype

Latest Threads

Top