cf-java-logging-support icon indicating copy to clipboard operation
cf-java-logging-support copied to clipboard

Major Release 4.0

Open KarstenSchnitter opened this issue 2 years ago • 1 comments

There have been a lot of changes in Java and the logging frameworks, that need to be integrated into this library. This will require a new major version. The following changes are suggested, please leave comments and further suggestions in this issue.

Upgrades:

  • Java 17 required, Jakarta bindings (e.g servlet)
  • SLF4j 2.x, with necessary upgrades of Logback (1.4.x+) and Log4j2

Removals:

  • cf-java-logging-support-jersey (Jersey integration)
  • cf-java-logging-support-servlet (to be replaced by cf-java-logging-support-servlet-jakarta)
  • cf-java-monitoring-custom-metrics-clients/* (custom metrics support)
  • sample (Jersey sample app, Spring Boot will stay)

New Features:

  • SPI support for Co ntextFieldSupplier, LogbackContextFieldSupplier, Log4jContextFieldSupplier
  • SPI support for DynamicLogLevelConfiguration and DynamicLogLevelProcessor
  • W3CTraceContext support
  • OpenTelemetry SpanContext support
  • OpenTelemetry SAP CF resource provider (to provide meaningful resource attributes)
  • SAP Cloud Logging OpenTelemetry binding auto-configuration

Refactors:

  • Move Dynamic Log Level feature to own module, so that java-jwt dependency is no longer required by cf-java-logging-support-servlet

KarstenSchnitter avatar Nov 06 '23 10:11 KarstenSchnitter

Hi @KarstenSchnitter, is there any timeline for this major release?

ldxian avatar Nov 21 '23 11:11 ldxian