Question

Change log files location according to user name
How to change this location in Appdata/Roaming folder
<file type="log4net.Util.PatternString" value="%property{ConfigurationDirectory}/%property{ProgramShortName}_Log4Net.txt" />
according to user name, Like I want to change this location and create a folder with a user name and save the log files in a folder
Example: C:\Users\XXX\Documents\UserName\%property{ProgramShortName}_Log4Net.txt