You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/08/17 04:35:17 UTC

[GitHub] [rocketmq] duhenglucky commented on issue #3268: springboot集成log4j2 appender 日志发送失败

duhenglucky commented on issue #3268:
URL: https://github.com/apache/rocketmq/issues/3268#issuecomment-899986581


   > 这个问题解决了。
   > 原因描述:ProducerInstancer每次获取producer都是同一个实例,而我们的场景需要动态更新log4j2配置,重新初始化上下文时关闭了producer,现在改成每次获取新对象,stop方法改成每次调用关闭当前appender中的producer对象。
   
   为这种有始有终的issue 点赞,提出问题,并且能够在问题解决后特意回到社区说明原因以及解决办法。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org