Version 3.0.0
What's Changed
- Exception Stack Trace Size - this has been changed from a default of
10
to300
. This applies to all logging libraries supported by thejava-log-extension
project.- 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-extension
project, 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-extension
and 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