views:

50

answers:

0

We are currently hosting all our websites from a network share being served by two load balanced web servers.

If we try and incorporate Log4Net (Rolling file logger) into a project, as soon as it goes to these (production) servers Log4Net starts to complain about permissions on the log file. (Works fine everywhere except the production environment)

Investigation so far suggests that it's due to the environment being a shared location.

We have tried to configure Log4Net to log to two (server independant) log files which produces the same results. Suggesting that the problem is more to do with where the library is running as apposed to where the logs are saved.

Has anyone ever come across this? Or can anyone think of any pointers?
Thanks.