Redirect log4net log in the User Directory

Viewed 11174

I have a program that uses log4net. It logs directly in the exe folder.

Now, when passing to station with Windows > XP (Vista, Seven) I observed that the logs are not always created, due I suppose to the user privileges and other security stuff...

Could I redirect logs to the user folder? Say

\\Username\MyProgram\Logs

3 Answers
Related