This Works fine .. i am unable to use static appenders. Because i need to change the name of the log file based on my processing function in my application. Now my problem is am unable to use httpcontext or session objects in threads.. Is there any way to do this?
Or else how can i creating log files dynamically? Thanks Dominik Psenner wrote: > > Hi, > >>Am creating a web application using Vb.Net for data processing. I am >>implementing multi threading in processing functions. And also i used >>log4net to log the function calls and steps. > > This is not going to work like this. The log4net-way is by defining > different appenders and filter the events there. Take this as a reference: > > http://stackoverflow.com/questions/1612317/how-to-log-into-separate-files-pe > r-thread-with-log4net > > Cheers, > D. > > > -- View this message in context: http://old.nabble.com/Object-Reference-issue-in-changing-the-Log-file-name-dynamically-in-threads-tp34508400p34508605.html Sent from the Log4net - Dev mailing list archive at Nabble.com.
