Log4j Logstash plugin not writing to stdout

Hello,

Here is my config:

input {
log4j {
mode => "server"
host => "0.0.0.0"
port => 3456
type => "log4j"
}
}
output {
stdout {
}
}
log4j.properties:

log4j.rootLogger=debug,tcp

log4j.appender.tcp=org.apache.log4j.net.SocketAppender
log4j.appender.tcp.Port=3456
log4j.appender.tcp.RemoteHost=localhost
log4j.appender.tcp.ReconnectionDelay=10000
log4j.appender.tcp.Threshold=debug


No output gets printed from logstash terminal. Please help.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.