Skip to content

GH-1225: Fix Log4j2 Appender Termination #1229

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2020

Conversation

garyrussell
Copy link
Contributor

Replaces #1225

manager.stop() was never called to destroy the connection factory, preventing
JVM exit.

Also protect for re-connecting after stop (both appenders).

Tested with a Spring Boot application.

cherry-pick to 2.2.x, 2.1.x, 1.7.x

Replaces spring-projects#1225

`manager.stop()` was never called to destroy the connection factory, preventing
JVM exit.

Also protect for re-connecting after stop (both appenders).

Tested with a Spring Boot application.

**cherry-pick to 2.2.x, 2.1.x, 1.7.x**
@artembilan artembilan merged commit f04aa83 into spring-projects:master Jul 22, 2020
@artembilan
Copy link
Member

Cherry-picked to 2.2.x & 2.1.x.

Looks like we need a separate fix for 1.7.x: there is no ApplicaitonContextAware impl on the AbstractConnectionFactory yet.
Thanks

@garyrussell
Copy link
Contributor Author

ok; thanks.

@garyrussell garyrussell deleted the GH-1225 branch July 22, 2020 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants