title: Configure log4net for asp.net MVC3 project
body: <p>Ok, so I'm understood how to configure the <code>log4Net</code> in my application, But now </p>
  
  <p><strong>First</strong> I want to improve the configuration by differencing the level of the logs if the application it's a release or a debug, how can I do this?. </p>
  
  <p><strong>Second</strong>, If I had a folder in my project called <code>LOG</code> how can I set the configuration, to not used the physical folder of my application??</p>
  
  <p><strong>for example Instead of:</strong></p>
  
  <pre><code>&lt;file value="C:\physicalpath\LOG\Log.log" /&gt; 
  </code></pre>
  
  <p><strong>used</strong></p>
  
  <pre><code>&lt;file value="\LOG\Log.log" /&gt; 
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&lt;file value="%some_variable%\LOG\Log.log" /&gt; 
  </code></pre>