DatabaseTraceListener - How implement?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Christiano Donke

    DatabaseTraceListener - How implement?

    Hey there...

    I need an error log in my current web application...
    Reading about some certification, i found out about the
    DatabaseTraceLi stener, made some research, but there are still some
    doubts...

    1) Do I need to have a trace.write statement on everyu page? Or can I
    just place it on Global.asax?
    2) Can I record other data, like, Form that the issue occurred, user's
    IP, Date/Time, and others?
    3) What are the Pros and Cons of using it?

    Found some information at http://www.15seconds.com/Issue/020910.htm

    tks,
    christiano.


  • bruce barker

    #2
    Re: DatabaseTraceLi stener - How implement?

    this part of an enterprise block. you pretty much need to buy into the
    whole approach, and add your own tracing logic. other components in the
    library have logging support built in.

    since, the application blocks, tracing has been added to asp.net. you
    should look at these.

    -- bruce (sqlwork.com)

    Christiano Donke wrote:
    Hey there...
    >
    I need an error log in my current web application...
    Reading about some certification, i found out about the
    DatabaseTraceLi stener, made some research, but there are still some
    doubts...
    >
    1) Do I need to have a trace.write statement on everyu page? Or can I
    just place it on Global.asax?
    2) Can I record other data, like, Form that the issue occurred, user's
    IP, Date/Time, and others?
    3) What are the Pros and Cons of using it?
    >
    Found some information at http://www.15seconds.com/Issue/020910.htm
    >
    tks,
    christiano.
    >
    >

    Comment

    Working...