title: custom appender plugin not detected by log4j2
body: <p>I am trying to create a custom appender for log4j 2.0, but am having issues getting my log4j configuration to recognize the appender. I know log4j 2.0 doesnt support packages in configuration attributes. So I tried, as suggested <a href="https://stackoverflow.com/questions/24918810/log4j2-configuration-will-not-load-custom-pattern-converter/24931395#24931395">here</a>, running the code with plain javac but even then it gives this error:<code>2015-03-11 18:47:35,281 ERROR Error processing element Test: CLASS_NOT_FOUND
  2015-03-11 18:47:35,307 ERROR Unable to locate appender test1 for logger</code></p>
  
  <p>Here is my custom appender:</p>
  
  <pre><code>@Plugin(name = "Test", category = "Core", elementType = "appender", printObject = true)
  public class TestAppender extends AbstractAppender{
  protected TestAppender(String name, Filter filter,
          Layout&lt;? extends Serializable&gt; layout, boolean ignoreExceptions) {
      super(name, filter, layout, ignoreExceptions);
      // TODO Auto-generated constructor stub
  }
  
  @PluginFactory
  public static TestAppender createAppender(@PluginAttribute("name") String name,
          @PluginAttribute("ignoreExceptions") boolean ignoreExceptions,
          @PluginElement("Layout") Layout&lt;? extends Serializable&gt; layout,
          @PluginElement("Filters") Filter filter) {
  
  
  
      return new TestAppender(name, filter, layout, true);        
  }
  
  public void append(LogEvent event) {
      // TODO Auto-generated method stub
      System.out.println(event.getMessage());
  }
  
  }
  </code></pre>
  
  <p>and my config xml:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;Configuration status="WARN" &gt;
  &lt;Appenders&gt;
      &lt;Test name="test1" &gt;
          &lt;PatternLayout pattern="%d %msg%n" /&gt;
          &lt;ThresholdFilter level="DEBUG" /&gt;
      &lt;/Test&gt;
  &lt;/Appenders&gt;
  &lt;Loggers&gt;
      &lt;Root level="DEBUG"&gt;
          &lt;AppenderRef ref="test1" /&gt;
      &lt;/Root&gt;
  &lt;/Loggers&gt;
  &lt;/Configuration&gt;
  </code></pre>
  
  <p>Thanks in advance for any useful input</p>