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 03:28:08 UTC

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

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


   这个问题解决了。
   原因描述:ProducerInstancer每次获取producer都是同一个实例,而我们的场景需要动态更新log4j2配置,重新初始化上下文时关闭了producer,现在改成每次获取新对象,stop方法改成每次调用关闭当前appender中的producer对象。


-- 
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