ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ignite_user2016 <rishiyag...@gmail.com>
Subject Re: Use SLF4J in Ignite
Date Mon, 14 Aug 2017 20:10:49 GMT
It looks like ignite version of slf4j is not in the classpath.

Did you copy the ignite slf4j jars into server lib directory ?

On Mon, Aug 14, 2017 at 1:55 PM, waterg [via Apache Ignite Users] <
ml+s70518n16179h3@n6.nabble.com> wrote:

> Hello there,
>
> I'm having following error when starting Ignite server node
>
> SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> SLF4J: Defaulting to no-operation (NOP) logger implementation
> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further
> detail
> s.
>
> In maven pom file, I added
>         <dependency>
>             <groupId>org.apache.ignite</groupId>
>             <artifactId>ignite-slf4j</artifactId>
>             <version>${ignite.version}</version>
>         </dependency>
> In XML config, I added:
>         <property name="gridLogger">
>             <bean class="org.apache.ignite.logger.slf4j.Slf4jLogger"/>
>         </property>
> I've also moved 'optional/ignite-slf4j' folder to
> 'libs' folder before running 'ignite.{sh|bat}' script, according to README
> here https://github.com/apache/ignite/tree/master/modules/slf4j
>
> What should I do differently?
>
> Thank you.
> Jessie
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://apache-ignite-users.70518.x6.nabble.com/Use-SLF4J-
> in-Ignite-tp16179.html
> To start a new topic under Apache Ignite Users, email
> ml+s70518n1h85@n6.nabble.com
> To unsubscribe from Apache Ignite Users, click here
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=1&code=cmlzaGl5YWduaWtAZ21haWwuY29tfDF8MTMwNTI4OTg1Mw==>
> .
> NAML
> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Rishi Yagnik




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Use-SLF4J-in-Ignite-tp16179p16181.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Mime
View raw message