ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aealexsandrov <aealexsand...@gmail.com>
Subject Re: How suppress Ignite log message
Date Thu, 05 Apr 2018 06:10:18 GMT
Hello,

You can try to use next options:

-DIGNITE_NO_ASCII=true -DIGNITE_QUIET=false

1) IGNITE_NO_ASCII will turn off the Ignite ascii message:

if (System.getProperty(IGNITE_NO_ASCII) == null) {
            String ver = "ver. " + ACK_VER_STR;

            // Big thanks to: http://patorjk.com/software/taag
            // Font name "Small Slant"
            if (log.isInfoEnabled()) {
                log.info(NL + NL +
                    ">>>    __________  ________________  " + NL +
                    ">>>   /  _/ ___/ |/ /  _/_  __/ __/  " + NL +
                    ">>>  _/ // (7 7    // /  / / / _/    " + NL +
                    ">>> /___/\\___/_/|_/___/ /_/ /___/   " + NL +

2)IGNITE_QUIET will hide other information from your example:

        if (log.isQuiet())
            U.quiet(false, "OS: " + U.osString());

        if (log.isQuiet())
            U.quiet(false, "VM information: " + U.jdkString());

Also you can try to change appenders options from the default log4j config
file:

^-- Logging by 'Log4JLogger [quiet=true,
config=/C:/GridGain/projects/gridgain/incubator-ignite/config/ignite-log4j.xml]'

Information about IGNITE_NO_ASCII , IGNITE_QUIET  and other
IgniteSystemProperties you can read here:

https://ignite.apache.org/releases/latest/javadoc/org/apache/ignite/IgniteSystemProperties.html

Best Regards,
Andrei




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

Mime
View raw message