You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Sumanta Ghosh <su...@yahoo.com> on 2017/11/16 04:21:04 UTC

Ignite 2.3.0 Console logging handler is not configured error in start-up

Hi,
I am using ignite with spring boot 1.5.8, which has Slf4j configured (with
logback implementation as default). Starting from 2.3 (most probably any
version after 2.0, as with 2.0 I am not getting this error) I am getting
following in the log

2017-11-16 09:45:11.591 ERROR 8636 --- [           main]                                         
: Failed to resolve default logging config file:
config/java.util.logging.properties
Console logging handler is not configured.

However, I have the node setup like below
                IgniteConfiguration igniteConfig = new
IgniteConfiguration();
		igniteConfig.setGridLogger(new Slf4jLogger(log));
and pom.xml entry for Slf4j logger as below
                 <dependency>
			<groupId>org.apache.ignite</groupId>
			<artifactId>ignite-slf4j</artifactId>
			<version>${ignite.version}</version>
		</dependency>
 
As can be seen above, the Slf4jLogger is passed with an slf4j logger
configured by spring boot. However, whereas the spring boot and application
logs are coming up fine in console, the ignite logs stopped appearing with
the error above.
Can you please help me resolving this?



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite 2.3.0 Console logging handler is not configured error in start-up

Posted by Alexey Popov <ta...@gmail.com>.
Hi Sumanta,

Please have a look at https://issues.apache.org/jira/browse/IGNITE-6828

This error message comes from Spring framework
(org.springframework.data:spring-data-commons).
It is not Ignite message and does not affect Ignite logging, so you can just
ignore it.

To avoid such message you could do the following:
1. Configure Slf4j logging for Spring
2. Exclude Slf4j dependency from Spring in your pom file:

<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
<version>some verion here</version>
<exclusions>
    <exclusion>
        <groupId>org.slf4j</groupId>
        <artifactId>jcl-over-slf4j</artifactId>
    </exclusion>
</exclusions>

Thank you,
Alexey




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/