ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgarg <pg...@gridgain.com>
Subject Re: Logging using Log4j2
Date Sat, 09 May 2015 17:33:02 GMT
/commented by cristian gheorghe florescu/

Now I using JCL in order to access log4j2

See JCL logger example below:

/...
  <property name="gridLogger">
      <bean class="org.apache.ignite.logger.jcl.IgniteJclLogger">
          <constructor-arg type="org.apache.commons.logging.Log">
              <bean class="org.apache.commons.logging.impl.Log4JLogger">
                  <constructor-arg type="java.lang.String"
value="config/ignite-log4j2.xml"/>
              </bean>
          </constructor-arg>
      </bean>
  </property>
  .../

----- 
/This post is migrated from now discontinued Apache Ignite forum at 
http://apacheignite.readme.io/v1.0/discuss/




--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Logging-using-Log4j2-tp188p189.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message