- Fix Java 8 compatibility issues. (#69)
- Try to dump the cause when stack trace serialization fails.
- Fix handling of non-
String
values inmap
directive. (#61)
-
Fix
ArrayIndexOutOfBoundsException
thrown whenstackTrace:text
produces an output violating the truncation limit. (#57) -
Implement work around for FasterXML/jackson-core#609 triggered when
maxStringLength
is used in combination withemptyPropertyExclusionEnabled=true
. (#55)
- Fix NPE in
StringTruncatingGeneratorDelegate
. (#53)
-
Switched to semantic versioning.
-
Add Java 9 module name:
com.vlkan.log4j2.logstash.layout
. -
Set
maxByteCount
to 16 KiB by default. -
Set
emptyPropertyExclusionEnabled
tofalse
by default. -
Remove
timestamp:nanos
andtimestamp:millis
directives in favor oftimestamp:epoch[:divisor=<divisor>[,integral]]
directive. -
Make formatted timestamp resolver GC-free.
-
Replace object pools with thread locals.
-
Add
locale
configuration. -
Fix
JsonGenerator
state corruption inExceptionResolver
ifLogEvent#getThrown()
isnull
. -
Add
GelfLayout.json
template. -
Add
level:severity
andlevel:severity:code
resolvers. (#48) -
Add
timestamp:epoch:divisor=<divisor>
resolver. (#48)
-
Add feature comparison matrix.
-
Update benchmarks.
-
Add ECS layout. (#39)
-
Add
char[]
caching for serializing stack traces. -
Add serialization context caching.
-
Add
eventTemplateAdditionalFields
parameter. (#43) -
Cache and reuse the most recently formatted timestamp. (#42)
-
Support user provided
ObjectMapper
s. (#35) -
Support
SimpleMessage
in${json:message:json}
directive. (#36) -
Support
ObjectMessage
in${json:message:json}
directive. (#36)
- Use UTF-8 while serializing stack traces.
-
Add
maxStringLength
parameter enabling truncation of string fields. (#31) -
Add
${json:map:xxx}
resolver forMapLookup
s. (#33) -
Fix the fallback to Log4j generic substitution for non-
${json:*}
templates. (#33)
-
Recover from corrupted
JsonGenerator
state after an exception. (#27) -
Removed thread-locals, the plugin is not garbage-free anymore. It turned out to be pretty tricky to reuse a thread-local
JsonGenerator
. That said, the change almost had no performance impact. (#27, #29)
- Make
LogstashLayout
backward compatible with Log4j 2.8. (#26)
-
Upgraded Jackson to 2.9.8, which fixes vulnerability CVE-2018-1000873. (#23)
-
Bumped Java version to 1.8. This was necessary due to Jackson upgrade. (#23)
-
Added
marker:name
resolver. (#21)