[ 
https://issues.apache.org/jira/browse/IGNITE-13219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155272#comment-17155272
 ] 

Ilya Kasnacheev commented on IGNITE-13219:
------------------------------------------

Actually, I think it may make sense to do System.setProperty(NODE_ID, 
U.id8(nodeId)); before initialization of logger, un-set this variable 
afterwards. This will allow nodes which have different nodeId's but brought up 
sequentially to configure their loggers properly [~alex_pl]

> Slf4jLogger does not implement the LoggerNodeIdAware interface.
> ---------------------------------------------------------------
>
>                 Key: IGNITE-13219
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13219
>             Project: Ignite
>          Issue Type: Improvement
>          Components: general
>    Affects Versions: 2.8.1
>            Reporter: YuJue Li
>            Assignee: YuJue Li
>            Priority: Minor
>             Fix For: 2.9
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In the scenario of ignite + slf4j + log4j2, the generated log file is named 
> ignite-${sys:nodeId}.log, The reason for this problem is that Slf4jLogger 
> does not implement the
> LoggerNodeIdAware interface.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to