Hi,
Update the file appender, and put cache-node-01 into the filename
property as below.
<RollingFile name="Rolling-${sys:nodeId}"
fileName="${sys:IGNITE_HOME}/work/log/cache-node-01-${sys:nodeId}.log"
filePattern="${sys:IGNITE_HOME}/work/log/cache-node-01-${sys:nodeId}-%i-%d{yyyy-MM-dd}.log.gz">
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 log4j/logj2 config before
starting a grid, and put the grid name into the fileName property.
Thanks, Alex
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/