Im working on a project that uses log4j-over-slf4j v1.6.1, which seems to
provoke a:
NoSuchMethodError[org.apache.log4j.Logger.setLevel(Lorg/apache/log4j/Level;)V];
]]
Does anyone have any compatability information about lo4j-over-slf4j and
newer elasticsearch-versions?
Seems like the log4j slf4j adapter does not implement it..., try and set
ESLoggerFactory#setDefaultFactory(new Slf4jESLoggerFactory()) in your
application startup, see if it helps. (slf4j is the worst thing that
happened to java logging world, and obviously, it becomes successful).
On Mon, Nov 28, 2011 at 1:13 PM, Runar Myklebust runar@myklebust.me wrote:
Hi.
Im working on a project that uses log4j-over-slf4j v1.6.1, which seems to
provoke a:
NoSuchMethodError[org.apache.log4j.Logger.setLevel(Lorg/apache/log4j/Level;)V];
]]
Does anyone have any compatability information about lo4j-over-slf4j and
newer elasticsearch-versions?
On Mon, Nov 28, 2011 at 12:21 PM, Shay Banon kimchy@gmail.com wrote:
Seems like the log4j slf4j adapter does not implement it..., try and set
ESLoggerFactory#setDefaultFactory(new Slf4jESLoggerFactory()) in your
application startup, see if it helps. (slf4j is the worst thing that
happened to java logging world, and obviously, it becomes successful).
On Mon, Nov 28, 2011 at 1:13 PM, Runar Myklebust runar@myklebust.mewrote:
Hi.
Im working on a project that uses log4j-over-slf4j v1.6.1, which seems to
provoke a:
NoSuchMethodError[org.apache.log4j.Logger.setLevel(Lorg/apache/log4j/Level;)V];
]]
Does anyone have any compatability information about lo4j-over-slf4j and
newer elasticsearch-versions?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.