Hi, 

1. I was a little wrong and it's enough for workflow to configure separate
logger for "org.ignite.logger" in INFO or higher (not in DEBUG or higher)
level.

2. I have test 
    public static void main(String[] args) throws InterruptedException {
        IgniteConfiguration cfg = new IgniteConfiguration();

        cfg.setGridLogger(new IgniteJclLogger());

        try(Ignite ignite = Ignition.start(cfg)) {
            Thread.sleep(100_000);
        }
    }

with log4j2 configuration:

<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
    <Appenders>
        <Console name="Console" target="SYSTEM_OUT">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level
%logger{36} - %msg%n"/>
        </Console>
    </Appenders>
    <Loggers>
        <Logger name="org.apache.ignite" level="INFO" additivity="false">
            
        </Logger>
        <Root level="DEBUG">
            <AppenderRef ref="Console"/>
        </Root>
    </Loggers>
</Configuration>

I run this test without some env. variables (without IGNITE_QUITE and etc.)
and don't see any logs at console.

3. Please, check your ignite/log4j2 configuration and etc.
If you will still see any logs at console, when I need more information to
next investigations (double check your env. variables). In best case it
should be simple example as I provide at point 2 with:
- java-code example to run Ignite
- log4j2 configuration
- logs that you see at console.

4. To track progress about the current bug, please, see at
https://issues.apache.org/jira/browse/IGNITE-923.
Also, I can propose to contribute at Ignite and fix this by yourself! It
would be really great!


Ok, I think to next investigations I need more information:
- 



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Disable-ignite-console-logs-tp310p339.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to