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

RE: Log file are not written in IIS7

2012-10-04 Thread Dominik Psenner
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. I assumed that you configured log4net to log to a file to which IIS has no permissions to write to. Thus you have to give IIS either the permissions or impersonate the web

RE: Log file are not written in IIS7

2012-10-03 Thread Dominik Psenner
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 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 .