Practical Logging In Web Applications

http://msdn2.microsoft.com/en-US/library/aa302420.aspx#c04618429_004