Commit Graph

13 Commits

Author SHA1 Message Date
Simone Bordet 41f6e3df51 Issue #4830 - Add JMX to new Jetty 10 jetty-slf4j-impl.
Updates after review, take 2.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-08 22:16:24 +02:00
Simone Bordet d6d994db5c Issue #4830 - Add JMX to new Jetty 10 jetty-slf4j-impl.
Updates after review.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-08 22:03:03 +02:00
Joakim Erdfelt 69e1d119fe
Issue #4830 - Improved notification of configuration mistakes on level names
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-08 12:48:46 -05:00
Joakim Erdfelt 1c2c3892f1
Issue #4830 - Ensuring we have Logger ROOT configuration ability
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-08 12:42:57 -05:00
Joakim Erdfelt 1c4f05d2d8
Issue #4830 - Cleaning up Level handling with JettyLevel enum
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-05-08 12:34:12 -05:00
Simone Bordet f98e2f8e14 Issue #4830 - Add JMX to new Jetty 10 jetty-slf4j-impl.
Updates after review.
Fixed test failures.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-03 21:40:27 +02:00
Simone Bordet d2399205ff Issue #4830 - Add JMX to new Jetty 10 jetty-slf4j-impl.
Alternative implementation that adds JMX support for jetty-slf4j-impl.

This version modifies MBeanContainer to be aware of @MXBean annotations and *MBean and *MXBean interfaces, so it does not require a dependency on jetty-jmx nor on java.management.

Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
2020-05-03 10:06:41 +02:00
Joakim Erdfelt 67bd321bfc
Issue #4830 - Enabling JMX on jetty-slf4j-impl
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-04-30 14:51:42 -05:00
Jan Bartel 3e2f27c197
Issue #4683 Fix jetty-slf4j-impl for osgi (#4684)
* Issue #4683 Fix jetty-slf4j-impl for osgi

Signed-off-by: Jan Bartel <janb@webtide.com>
2020-04-06 11:35:57 +02:00
Joakim Erdfelt fc722bff22
Issue #4620 - support alt PrintStream in StdErrAppender properly
+ The console-capture jetty module will reset System.err to
  RollingFileOutputStream.  But that's too late, as StdErrAppender
  has already grabbed and is holding onto the System.err from
  earlier, which means it is not writing to the new System.err.

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-03-21 13:51:42 -05:00
Joakim Erdfelt a16abe1693
Issue #4685 - jetty-slf4j-impl not a compile/runtime dependency.
+ Mark as a test dependency

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-03-19 17:46:41 -05:00
Joakim Erdfelt 57604d0955
Issue #4572 - Mechanical Change to use org.slf4j
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-03-16 15:48:25 -05:00
Joakim Erdfelt 8b7e64915f
Issue #4572 - Replace Jetty Logging with SLF4J
* Introducing jetty-slf4j-impl
* Make Jetty use org.slf4j
* Removed most of org.eclipse.jetty.util.log classes
* Left org.eclipse.jetty.util.log.Log and
       org.eclipse.jetty.util.log.Logger but as
  simple bridge classes that are deprecated
* Migrated code using org.eclipse.jetty.util.log.StacklessLogging
  to org.eclipse.jetty.logging.StacklessLogging found in
  the jetty-slf4j-impl
* Moved logging start modules from jetty-util to jetty-home
* Simplified logging start modules
* Updated code that was using StdErrLog directly
* Updating module-info.java for org.slf4j
* removing org.eclipse.jetty.util.log.class references
* jetty-start supports manually declared default provider
  + and we use it to default "logging" to the "logging-jetty" provider
* Cleaning up jetty-maven-plugin and IT testing for Logging
* Using old slf4j for it testing
* Updating compiler config to show Xlint:exports warnings
* Updating console-capture and logging-noop
* Adding slf4j bridge (capture) jetty modules
* Updates to jetty logging module locations
* Changing reference to slf4j dependent mod
* Process requested enabled modules in topological order
* Limiting inclusions in shaded jetty-start
  + Also adding note to jetty-util classes that are used by
    jetty-start
* Default logging level on baseline logging config is INFO (not DEBUG)
* Changing from system to server classes in logging
* Updating other modules to use new logging names

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
2020-03-16 11:21:54 -05:00