Re: Ignite node log file setup

2020-07-03 Thread kay
Thank you so much! -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite node log file setup

2020-07-02 Thread Ilya Kasnacheev
Hello! """ In Spring syntax it will be #{systemProperties['gridName']}: """ Regards, -- Ilya Kasnacheev ср, 1 июл. 2020 г. в 12:01, kay : > Hello, I'm waiting for reply :) > > How can I set system property to use in ignite config file?? > I set and got a error so , attacted log file

Re: Ignite node log file setup

2020-07-01 Thread kay
Hello, I'm waiting for reply :) How can I set system property to use in ignite config file?? I set and got a error so , attacted log file before.. Thank you so much -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite node log file setup

2020-06-10 Thread kay
Hello, I excute sh ./ignite.sh -J-DgridName=testCache1-1 -v ./config/testCache1-1.xml and attachted whloe log file. Thank you testCache1-1.out -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite node log file setup

2020-06-10 Thread Andrei Aleksandrov
Hi, Can you please attach the whole log file? BR, Andrei 6/9/2020 5:14 AM, kay пишет: Hello! I start up sh ./ignite.sh -J-DgridName=testGridName -v ./config/config-cache.xml and in config-cache.xml but server start failed. Is that not proper to set igniteInstanceName?? log is here

Re: Ignite node log file setup

2020-06-08 Thread kay
Hello! I start up sh ./ignite.sh -J-DgridName=testGridName -v ./config/config-cache.xml and in config-cache.xml but server start failed. Is that not proper to set igniteInstanceName?? log is here class org.apache.ignite.IgniteException: Failed to start manager: GridManagerAdapter

Re: Ignite node log file setup

2020-06-08 Thread Ilya Kasnacheev
Hello! ${sys:} can use any system property which exists in the JVM. If you put your gridName (or consistentId) into system property, you can refer to it from both Ignite configuration (xml or otherwise) and log4j2 configuration. Regards, -- Ilya Kasnacheev пн, 8 июн. 2020 г. в 04:55, kay :

Re: Ignite node log file setup

2020-06-07 Thread kay
Hello, Thank you for reply. I know that I can put the 'cache-node-01' into the filename. But I wanna use only 1 log4j2.xml. If I use http://apache-ignite-users.70518.x6.nabble.com/

Re: Ignite node log file setup

2020-06-05 Thread akorensh
Hi, Update the file appender, and put cache-node-01 into the filename property as below. Use env variables in your appenders, or re-config at run time as need be. see: https://apacheignite.readme.io/docs/logging#log4j2 You can also pro-grammatically create the

Ignite node log file setup

2020-06-05 Thread kay
Hello, I set up log4j2.xml and I found a create log file with sys:nodeId. I configured grid name like cache-node-01, cache-node-02 using xml confiuration(property name="igniteInstanceName" value="cache-node-01") Is there any way to setup log file with grid name. for example)