Just sending it for your reference -
Copied ignite-log* library in ignite lib folder
Renamed ignite-log4j to log4j.xml for log4j configuration
Renamed ignite-log4j2 to log4j2.xml for log4j configuration
Copied respective log file config in config location so that it can be
picked up during start u
Prachi,
Parameter of Log4JLogger constructor is not the path to XML file, it's just
a name of root logger. Ignite logger configuration should look like this:
ignite-log4j.xml file should be renamed to log4j.xml and moved to
Valentin, Nikolai,
I have published my example on github -
https://github.com/pgarg/myIgniteExamples
On Mon, Sep 4, 2017 at 7:57 PM, Rishi Yagnik wrote:
> I have configured log4j, log4j-2 in our environment, can share additional
> details here if you need it.
>
> On Mon, Sep 4, 2017 at 11:54 AM
I have configured log4j, log4j-2 in our environment, can share additional
details here if you need it.
On Mon, Sep 4, 2017 at 11:54 AM, Nikolai Tikhonov
wrote:
> Prachi,
>
> I've published on github example with configured JCL logger. Please, have a
> look: https://github.com/TikhonovNikolay/jcl
Prachi,
I've published on github example with configured JCL logger. Please, have a
look: https://github.com/TikhonovNikolay/jcl-ignite-example
On Sat, Sep 2, 2017 at 12:36 AM, Prachi Garg wrote:
> Yes, I tried using it, but strangely this is the output I get when use
> -DIGNITE_QUIET=false
> (
Yes, I tried using it, but strangely this is the output I get when use
-DIGNITE_QUIET=false
( I set this property in Idea ->Run -> Edit Configurations -> VM options)
log4j:WARN No appenders could be found for logger
(org.apache.ignite.internal.util.typedef.G).
log4j:WARN Please initialize the log4
Prachi,
It looks like you're running in quiet mode. Did you try to set
-DIGNITE_QUIET=false
system property?
-Val
On Fri, Sep 1, 2017 at 10:43 AM, Prachi Garg wrote:
> Nikolai,
>
> I have specified 'gridlogger' property in 'IgniteConfiguration', but looks
> like it does not get instantiated.
>
Nikolai,
I have specified 'gridlogger' property in 'IgniteConfiguration', but looks
like it does not get instantiated.
...
On Fri, Sep 1, 2017 at 10:16 AM, Nikolay Tikhon
Hi Denis,
JCL it's wrapper for logging system (similar sl4j) which can be used
together with log4j. I guess that JavaDoc correct.
On Fri, Sep 1, 2017 at 5:40 PM, Denis Magda wrote:
> Nikolai,
>
> Looking at JCL documentation I see the usage of Log4j together with JCL:
>
> *
> * ...
> *
Nikolai,
Looking at JCL documentation I see the usage of Log4j together with JCL:
*
* ...
*
*
*
*
Hello Prachi!
You need to set gridLogger property in IgniteConfiguration and remove
ignite-log4j dependency from POM file.
For example for Sl4j logger:
*igniteConfiguration.setGridLogger(new Slf4jLogger());*
and for Jc logger:
*igniteConfiguration.setGridLogger(new JclLogger());*
On Fri, Sep
Engineers,
In the attempt to document loggers supported by Ignite, I am having a hard
time configuring ignite-jcl and ignite-slf4j (I could configure log4j and
log4j2). I don't see the log message on my console when I use ignite-jcl or
ignite-slf4j.
Below is the configuration and sample code I a
12 matches
Mail list logo