Releases: newrelic/java-log-extensions
Releases · newrelic/java-log-extensions
Version v3.5.0
What's Changed
- Adds support for Dropwizard 3 by @kanderson250 in #113.
- Note: This module is not compatible with Dropwizard 4+.
- Corrects formatting issues in logback13 by @kanderson250 in #115
Full Changelog: v3.4.0...v3.5.0
Version 3.4.0
Version 3.3.0
What's Changed
- Remove Apache
commons-langclasses from final logging extension jars
Full Changelog: v3.2.0...v3.3.0
Version 3.2.0
What's Changed
- Upgrade
logback-coreandlogback-classicdependencies to version1.2.13
Full Changelog: v3.1.0...v3.2.0
Version 3.1.0
What's Changed
- Exception Stack Traces
- Capture the full (nested) stack trace for exceptions.
- Add configuration option to allow unlimited stack trace size, by setting the maximum stack trace option to
0.- This can be configured via
- System property:
-Dnewrelic.log_extension.max_stack_size=0 - Environment variable:
NEW_RELIC_LOG_EXTENSION_MAX_STACK_SIZE=0
- System property:
- This can be configured via
- Logback MDC (Mapped Diagnostic Context)
- Fix bug where MDC values were not retained when using the extension with Logback v1.4.8 and higher.
New Contributors
- @jtduffy made their first contribution in #77
- @kanderson250 made their first contribution in #79
- @deleonenriqueta made their first contribution in #80
Full Changelog: v3.0.0...v3.1.0
Version 3.0.0
What's Changed
- Exception Stack Trace Size - this has been changed from a default of
10to300. This applies to all logging libraries supported by thejava-log-extensionproject.- This is configurable via:
- System property:
-Dnewrelic.log_extension.max_stack_size=integer - Environment Variable:
NEW_RELIC_LOG_EXTENSION_MAX_STACK_SIZE=integer
- System property:
- This is configurable via:
- Mapped Diagnostic Context (MDC) - decorating logs with MDC data is now generally supported but disabled by default. MDC keys will be prefixed by
context.to prevent clashes with New Relic specific attributes. This applies to all logging libraries supported by thejava-log-extensionproject, except for Java Util Logging (JUL) which does not provide an MDC mechanism.- This is configurable via:
- System property:
-Dnewrelic.log_extension.add_mdc=boolean - Environment Variable:
NEW_RELIC_LOG_EXTENSION_ADD_MDC=boolean
- System property:
- Note: This is considered a breaking change as previously some of the logging libraries automatically added MDC. If you upgrade to this version of the
java-log-extensionand wish to have MDC added to your logs then you will need to explicitly enable it. Currently, this will add all MDC as filtering out specific keys is not yet supported.
- This is configurable via:
Full Changelog: v2.6.0...v3.0.0
Version 2.6.0
What's Changed
- Removed the log forwarder. Please use the New Relic Java Agent if you want log forwarding to be used.
- Upgrade Gradle to version 7.5.1
New Contributors
- @kford-newrelic made their first contribution in #66
- @obenkenobi made their first contribution in #68
Full Changelog: v2.5.0...v2.6.0
Version 2.5.0
What's Changed
- feat: added logback marker to JSON layout if present by @derylseale in #52
- Update to TelemetrySDK 0.13.2 to address CVE-2022-25647 by @jasonjkeller in #59
New Contributors
- @derylseale made their first contribution in #52
Full Changelog: v2.4.0...v2.5.0
Version 2.4.0
What's Changed
- Add a
forwardermodule that does log forwarding using the New Relic Java Telemetry SDK - Implement
com.newrelic.logging.logback.NewRelicHttpAppenderto do log forwarding for logback - Update
log4j2dependencies to version2.17.2 - Update Java agent API dependencies to version
7.6.0
New Contributors
Full Changelog: v2.3.2...v2.4.0
Version 2.3.2
What's Changed
- Update documentation to specify support for Log4J 2.13.2 or higher by @twcrone in #47
- Add warning for CVE-2021-44228 by @twcrone in #48
- update l4j and newr api point releases by @tbradellis in #49
- point release by @tbradellis in #50
New Contributors
Full Changelog: v2.3.1...v2.3.2