I have an issue with the location of log file in log4net.
I gave this node for the location to create the log file
<file type="log4net.Util.PatternString" value="%ALLUSERSPROFILE%\MyProject\error.txt/>
As I think it should create the log file in user folder. But this one is creating in the
bin\debug\ALLUSERSPROFILE\MyProject\error.txt
Even I tried AppData
also but its behaving the same.
Am I doing any mistake??
Is it required any converter to convert environment variables?