Re: trace Id for C2 audit
- From: Ben Nevarez <BenNevarez@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 26 Dec 2007 01:52:00 -0800
Just to add to Erland's comment, that trace is known as the default trace
and usually has traceid = 1 (There is also a blackbox trace but it is not
enabled by default).
What it is interesting is that if I enable C2 for testing, C2 uses the
traceid = 1 and the default trace now becomes traceid = 2.
Hope this helps,
Ben Nevarez
Senior Database Administrator
AIG SunAmerica
"Erland Sommarskog" wrote:
Munish Narula (munish.narula@xxxxxxxxx) writes:.
Is it a fair assumption to make, that the traceId of c2 auditing is
always 1?
Say, I have switched on C2 audit in SQL 2000 and 2005 and i use
fn_trace_getinfo to get the active trace. Will it always return me
traceId as 1?
SQL 2005 has a "blackbox trace" enabled by default with trace id = 1. But
I don't know whether that trace is disabled if you turn on C2.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
- References:
- Re: trace Id for C2 audit
- From: Erland Sommarskog
- Re: trace Id for C2 audit
- Prev by Date: Re: trace Id for C2 audit
- Next by Date: Re: trace Id for C2 audit
- Previous by thread: Re: trace Id for C2 audit
- Next by thread: Re: trace Id for C2 audit
- Index(es):
Relevant Pages
|