title: How can I tell log4net which appender to use from app.config
body: <p>I had a quick log4net question. How can I specify which appender to use from the app.Config?
  This particular config file references 2 different appenders. Both are rolling file appenders but they point to different files. Throughout the application log4net is being called and a type is passed into the constructor. like this...</p>
  
  <pre><code> private static readonly ILog log = LogManager.GetLogger(typeof(Foo));
  </code></pre>
  
  <p>How does log4net know which appender to choose? Can you map types to specific named appenders? I know there are 5 constructors for GetLogger, can you pass a type and an appender name? I see "repositoryName", not sure what that is.  If anyone can point me in the right direction I would greatly appreciate it. I would like a certain set of types to log specifically to one appender.</p>
  
  <p>Thanks for any tips,<br>
  ~ck in San Diego</p>