We’re trying to deploy our project but we can’t get elmah to create the xml logs outsite the wwwroot. It’s currently logging to inetpub{site}\wwwroot\App_Data because that’s the only path that seemed to work. We would like to have it logging to our inetpub{site}\logs folder. Any ideas on getting this to work? We’ve already tried ..\ and ../ paths to the folder but they didn’t seem to work.
Share
You could provide an absolute path to the log file but you should make sure that the account that is configured to run your web application under IIS has write permissions to this folder so that it can create and modify files inside.