You can use log4net.Util.PatternString
to do this, in your case do the following:
Remove this:
<file value="TestLog.log" />
And add this:
<file type="log4net.Util.PatternString" value=".\Content\logs\%date{yyyyMMdd}\\TestLog.log" />
For further info please refer to the documentation:
https://logging.apache.org/log4net/release/sdk/log4net.Util.PatternString.html