GitHub user paladox added a comment to the discussion: Help with migrating from 
log4j to log4j2 (we also use a slf4j -> log4j)

It’s not setContextData either, as I unset it and the problem keeps happening. 
So I’m not sure why it fails, why it says the AsyncAppender isn’t started on 
the second try. .stop() isn’t called until the application gets shutdown. So 
I’m unsure why it fails, although I note it only happens when running reset: 
https://gist.github.com/paladox/6a2a5aabec14f83b10b20a7f498c0448

Running other ssh commands are fine.

I guess the reconfigure stops the AsyncAppender somehow? But I’m unsure how I 
can fix that.





GitHub link: 
https://github.com/apache/logging-log4j2/discussions/3914#discussioncomment-14330858

----
This is an automatically sent email for dev@logging.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@logging.apache.org

Reply via email to