RE: Log file are not written in IIS7

2012-10-04 Thread LakshmiThangaraj
what is the use of this property.. If i set this what are all the permissions i need to set for the log folder in iis. Thanks Dominik Psenner wrote: Hi, Am using log4net in my application. It works fine when i run via code. But when i host it in IIS7 the log files are not written. What

Object Reference issue in changing the Log file name dynamically in threads

2012-10-03 Thread LakshmiThangaraj
Hai 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. My application requires multiple log file. So i used the following code to change the log files

Log file are not written in IIS7

2012-10-03 Thread LakshmiThangaraj
Hai Am using log4net in my application. It works fine when i run via code. But when i host it in IIS7 the log files are not written. What is the preferred account used to write to the log file directory, I tried network and network service and they did not work. I tried iusr and that worked .

RE: Object Reference issue in changing the Log file name dynamically in threads

2012-10-03 Thread LakshmiThangaraj
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