Last post Oct 03, 2012 01:14 AM by Ramesh Chandra
Oct 03, 2012 01:02 AM|t.lakshmi|LINK
Am crating log4net in my application. It works fine when i run via code. But when i host it in IIS7 the log files are not wriiten.
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 . Which is the rght user account to work with logfiles?
Oct 03, 2012 01:14 AM|Ramesh Chandra|LINK
whatever user identity your web application app pool is configured with, (Network/network service/user). you have to give permission to the log folder to that particular user