I wanted to enable logging in my plugin ruby script and added the following line in the register
method:
LogStash::Logger.setup_log4j(@logger)
I have the log4j and the slf4j jars in my runtime dependencies. When I try to start logstash, I get an error
The error reported is:
missing class name (`org.apache.log4j.LogManager')
Any idea what configuration I am missing?