Hi guys, I am using Log4j2 for Ignite logging, but I always have this error: "* Failed to instantiate [org.apache.ignite.logger.log4j2.Log4J2Logger]: Constructor threw exception; nested exception is class org.apache.ignite.IgniteCheckedException: Log4j configuration path was not found:config/log4j2.xml*"
This is my configuration. *data-node-config.xml* <bean class="org.apache.ignite.configuration.IgniteConfiguration"> <property name="gridLogger"> <bean class="org.apache.ignite.logger.log4j2.Log4J2Logger"> <constructor-arg type="java.lang.String" value="config/log4j2.xml"/> </bean> </property> </bean> And my log4j2.xml locates in the same folder as data-node-config.xml. Both of them are in config folder. File structure: --src |--main |--java |--DataNodeStartUp.java |--resources |--config |--data-node-config.xml |--log4j2.xml However, whenever I run DataNodeStartUp.java main method to call "Ignite ignite = Ignition.start("config/data-node-config.xml");" to start my data-node, it always has the error for cannot find the Log4j configuration path. If I use the absolute path it can work. So there is nothing wrong with my other configurations. What is this relative path of log4j2.xml? Thanks! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/