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

upgrade logback and log4j-slf4j (new artifact log4j-slf4j18-impl) to support slf4j api 1.8 #3209

Merged
merged 3 commits into from
Dec 22, 2018

Conversation

olamy
Copy link
Member

@olamy olamy commented Dec 19, 2018

Signed-off-by: olivier lamy oliver.lamy@gmail.com

…ifact log4j-slf4j18-impl)

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
@olamy olamy changed the title upgrade logback and version of log4j-slf4j support slf4j api 1.8 (new artifact log4j-slf4j18-impl) upgrade logback and log4j-slf4j (new artifact log4j-slf4j18-impl) to support slf4j api 1.8 Dec 19, 2018
<version>1.8.0-beta2</version>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j18-impl</artifactId>
<version>2.11.1</version>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need the version here?
I would prefer it is inherited from somewhere, so that we don't forget to update it to newer versions.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

easy to fix.
I have a bit more concern about the file jetty-util/src/main/config/modules/slf4j-api.mod
and the value slf4j.version?=1.8.0-beta2 (without the change included in the pr this was not working anymore)

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
@sbordet
Copy link
Contributor

sbordet commented Dec 19, 2018

@olamy nice magic with the @version@ thing.
But then, why not doing this for the other dependencies as well, e.g. the Spring Boot version?

@olamy
Copy link
Member Author

olamy commented Dec 19, 2018

@sbordet because we do not use Spring Boot elsewhere except for this test and we probably don't want to depend on it?

@sbordet
Copy link
Contributor

sbordet commented Dec 20, 2018

@olamy but the point is that if we put the version there we will never ever remember to update it for new Spring Boot versions.
Instead, if we have all the versions in the main POM, we run through it at least every release, and update all the versions for dependencies, plugins, etc.

Signed-off-by: olivier lamy <oliver.lamy@gmail.com>
@olamy
Copy link
Member Author

olamy commented Dec 21, 2018

@sbordet fair enough. should be better now

@olamy olamy merged commit ab2a8b0 into jetty-10.0.x Dec 22, 2018
@olamy olamy deleted the jetty-10.0.x_logback_log4j_impl_upgrade branch December 22, 2018 00:01
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