title: log4j/log4cxx : exclusive 1 to 1 relation between logger and appender
body: <p>Using the xml configuration of log4cxx (which is identical in configuration to log4j).
  I want to have a certain logger output exclusively to a specific appender (have it the only logger which outputs to that appender).</p>
  
  <p>I found that it's possible to bind a logger to a specific appender like this:</p>
  
  <pre><code>&lt;logger name="LoggerName"&gt;
      &lt;level value="info"/&gt;
     &lt;appender-ref ref="AppenderName"/&gt;
  &lt;/logger&gt;
  </code></pre>
  
  <p>but it that logger still outputs to the root appender because I have this standard piece in the conf file:</p>
  
  <pre><code>&lt;root&gt;
     &lt;priority value="DEBUG"/&gt;
     &lt;appender-ref ref="OtherAppender"/&gt;
  &lt;/root&gt;
  </code></pre>
  
  <p>How can I exclude that logger from the root logger?
  in other words, how do I configure the log such that all loggers inherit the appenders of the root logger except a specific logger?</p>