You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by pgarg <pg...@gridgain.com> on 2015/05/09 19:32:07 UTC

Logging using Log4j2

/asked by cristian gheorghe florescu/

Is this possible to add support for log4j2 into
org.apache.ignite.logger.log4j package (Log4J2Logger)?

This could be an enhancement considering log4j2 enhanced performance and new
features.

-- Thank you for your great work.

----- 
/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-tp188.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Logging using Log4j2

Posted by pgarg <pg...@gridgain.com>.
/commented by yakov zhdanov/

I filed a ticket - https://issues.apache.org/jira/browse/IGNITE-788

Btw, you can contribute this functionality to Ignite :) ask for assistance
on project dev-list.

----- 
/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-tp188p190.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Logging using Log4j2

Posted by pgarg <pg...@gridgain.com>.
/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.