O'Reilly logo

Programming Microsoft® ADO.NET 2.0 Applications: Advanced Topics by Glenn Johnson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. ADO.NET Trace Logging

Trace logging provides a detailed record of system and application events when activities such as a disk I/O operation or a committed transaction occur. Tracing of data access activities is vastly improved in ADO.NET 2.0 with the ADO.NET Event Tracing for Windows (ETW) provider. ETW is a tracing mechanism that you can use in drivers as well as applications. ETW can log about 20,000 entries per second with only 5 percent CPU load, even while logging from multiple processes concurrently. ETW can easily be turned on and off at runtime. The ETW output can be consumed by third-party tools, including the logparser.exe utility that is included in the Microsoft Internet Information Service (IIS) 6.0 Resource Kit.

This chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required