title: logstash with log4j socketappender doesn't work
body: <p>I am trying to stream my logs through the log4j socket appender and trying to retrieve the same through the logstash log4j input plugin. My logstash configuration looks like</p>
  
  <pre><code>input {
          log4j
          {
           type=&gt;"socketlogs"
            port=&gt;"1995"
          }
  }
  
  output {
          stdout {}
          file
          { path=&gt;"socket.log"}
  
  }
  </code></pre>
  
  <p>My log4j.xml looks like below </p>
  
  <pre><code>&lt;appender name="logstashsocketappender" class="org.apache.log4j.net.SocketAppender"&gt;
          &lt;param name="RemoteHost" value=&lt;logstash ip&gt;/&gt;
          &lt;param name="Port" value="1995"/&gt;
          &lt;param name="ReconnectionDelay" value="60000"/&gt;
          &lt;param name="Threshold" value="INFO"/&gt;   
      &lt;/appender&gt;
  
  &lt;root&gt;
          &lt;level value="INFO"/&gt;
          &lt;appender-ref ref="logstashsocketappender"/&gt;
      &lt;/root&gt;
  </code></pre>
  
  <p>I have a logger.info statement in the code for testing, however I do not see those in stdout in the logstash machine. These are the software versions I am using</p>
  
  <p>logstash - 1.4.2
  log4j - 1.7.5</p>
  
  <p>Let me know if I am missing something here.</p>
  
  <p>Thanks for the help
  Gowri </p>