-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Issue #4572 - Replace Jetty Logging with slf4j #4611
Conversation
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
+ JPMS module-info.java + StacklessLogging supports java.lang.Package arrays now + Removing OSGi Require-Capability against serviceloader Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Preparing for refactoring to cleanup usage of old school Jetty logging to slf4j. Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…4572-replace-jetty-logging Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…4572-replace-jetty-logging Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com> # Conflicts: # jetty-util/src/main/java/org/eclipse/jetty/util/log/JavaUtilLog.java # jetty-util/src/main/java/org/eclipse/jetty/util/log/JettyLogHandler.java # jetty-util/src/main/java/org/eclipse/jetty/util/log/Log.java # jetty-util/src/main/java/org/eclipse/jetty/util/log/Logger.java # jetty-util/src/main/java/org/eclipse/jetty/util/log/StdErrLog.java # jetty-util/src/test/java/org/eclipse/jetty/util/log/StdErrLogTest.java
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…d containerClasspath Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…4572-replace-jetty-logging
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…mpls do" This reverts commit 1339bd1 Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…0.x-4572-replace-jetty-logging Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com> # Conflicts: # jetty-slf4j-impl/pom.xml # jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/JettyLogger.java # jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/JettyLoggerConfiguration.java # jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/JettyLoggerFactory.java # jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/JettyLoggingServiceProvider.java # jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/StacklessLogging.java # jetty-slf4j-impl/src/main/java/org/eclipse/jetty/logging/StdErrAppender.java # jetty-slf4j-impl/src/test/java/org/eclipse/jetty/logging/JettyLoggerConfigurationTest.java # jetty-slf4j-impl/src/test/java/org/eclipse/jetty/logging/JettyLoggerTest.java # jetty-slf4j-impl/src/test/java/org/eclipse/jetty/logging/StdErrAppenderTest.java
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
…4572-replace-jetty-logging Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com> # Conflicts: # jetty-xml/src/test/java/org/eclipse/jetty/xml/XmlConfigurationTest.java
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@@ -45,7 +45,12 @@ | |||
</dependency> | |||
<dependency> | |||
<groupId>org.slf4j</groupId> | |||
<artifactId>log4j-slf4j12</artifactId> | |||
<artifactId>slf4j-log4j12</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The prior entry log4j-slf4j12
doesn't exist. (it was a mistake of mine in a prior commit on this branch)
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>jul-to-slf4j</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This entry fixes a bad version mismatch for jul-to-slf4j that is brought in transitively by a different dependency
@@ -0,0 +1,15 @@ | |||
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this log4j.xml just makes the output appear on the console (something that the it tests expect)
Closing this as it's not meant to be reviewed. Branch will be deleted in the near future. |
This is the large draft PR that @gregw asked to see.
The changes from PR #4601 have been merged into here, along with all of the other changes.