Re: Logging failing, tried the troubleshoot steps already
It will enable by default if ignite-log4j module is added to classpath. I would check that this is actually the case first, probably you missed something and it was not properly added. -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Logging-failing-tried-the-troubleshoot-steps-already-tp7882p7928.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Logging failing, tried the troubleshoot steps already
I thought the purpose of using log4j was to avoid the steps in that link? The link I included says "you can either add ignite-log4j module to the list of the used jars so that Ignite would use Log4j as a logging subsystem, or alter default Spark classpath as described here." Does "adding it to the list of used jars" mean something other than adding it to the pom? I've added it to the pom and that doesn't seem to be doing anything. The error is the same before and after adding the log4j jar, doesn't seem to have changed anything. This is the runtime error, not a build error. I'm assuming I missed some important step in activating log4j, I just don't know what "adding it to the list of used jars" means, if not adding it to the pom. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Logging-failing-tried-the-troubleshoot-steps-already-tp7882p7895.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.
Re: Logging failing, tried the troubleshoot steps already
Hi, First of all, you need not only the ignite-log4j jar, but the whole ignite-log4j module with dependencies. Refer to [1] for details. Also as far as I understand, the log4j did replaced the Java logger and you got a different error. Is this right? If so, you should probably just configure log4j properly. Refer to log4j docs for this. [1] http://apacheignite.gridgain.org/v1.2/docs/installation--deployment -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Logging-failing-tried-the-troubleshoot-steps-already-tp7882p7894.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.