Skip to content
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

#000 - Fix plugin logging concurrency issue. #4542

Merged

Conversation

arvindsv
Copy link
Member

Due to https://jira.qos.ch/browse/LOGBACK-1359, RollingFileAppender#start is not thread safe. Plugin logging service creates a rolling file appender and starts it. If multiple plugins try to log at the same time, a ConcurrentModificationException can happen.

It shows up as a test failure: https://build.gocd.org/go/tab/build/detail/build-linux/2345/build-non-server/1/plugin-infra

Due to https://jira.qos.ch/browse/LOGBACK-1359, RollingFileAppender#start is not thread safe. Plugin logging service
creates a rolling file appender and starts it. If multiple plugins try to log at the same time, a ConcurrentModificationException
can happen.
@arvindsv arvindsv added this to the Release 18.3 milestone Mar 20, 2018
@jyotisingh jyotisingh merged commit f3cfac4 into gocd:master Mar 20, 2018
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.

None yet

2 participants