RE: Can I use static logger and ThreadContext.Properties in asp.net project?

2007-09-19 Thread zli
The ASP.Net server executes the same code for different users in different threads. So each thread has it own username property. Change the username property in one thread will not affect the name property of another thread I have test this in the VS2005 environment, and it works.. Zhen

How to get the Lot4Net configaration info in the program?

2007-09-12 Thread zli
Hi guys: I am using log4net in my ASP.Net project. The Log4Net is configured in the web.config file. I need to get the Log4Net config info in one of my ASP.Net pages. How to do it? Is there a way to access the Log4Net config info in a programming way?? Cheers Zheng