ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentin Kulichenko <valentin.kuliche...@gmail.com>
Subject Re: logging
Date Sat, 13 Jun 2015 02:12:59 GMT
Jonathon,

You should also configure SLF4J logger in configuration:

Slf4jLogger gridLog = new Slf4jLogger(slf4jLog); // Provide correct SLF4J
logger here.

igniteCfg.setGridLogger(gridLog);

Let us know if it helps.

-Val

On Fri, Jun 12, 2015 at 1:04 PM, Jonathon Bell <jonathon.a.bell@gmail.com>
wrote:

> Hi all,
>
> My application uses SLF4J and LOGBACK for logging.
> Is it possible for me to configure the ignite libraries to use this
> logging combination too? If so, how?
>
> n.b: i tried adding the  line:
>
>          <groupId>org.apache.ignite</groupId>
>
>          <artifactId>ignite-slf4j</artifactId>
>
>          <version>1.1.0-incubating</version>
> to my pom, but still see:
>
> Jun 12, 2015 3:59:12 PM java.util.logging.LogManager$RootLogger log
>
> SEVERE: Failed to resolve default logging config file:
> config/java.util.logging.properties
>
> [15:59:12]    __________  ________________
>
> [15:59:12]   /  _/ ___/ |/ /  _/_  __/ __/
>
> [15:59:12]  _/ // (7 7    // /  / / / _/
>
> [15:59:12] /___/\___/_/|_/___/ /_/ /___/
>
> [15:59:12]
>
> [15:59:12] ver. 1.1.0-incubating#20150520-sha1:6da491f4
>
> [15:59:12] 2015 Copyright(C) Apache Software Foundation
>
> [15:59:12]
> ....
>
> when starting up my application...
>
> Regards,
>
> Jonathon
>
>

Mime
View raw message