This version of Lilith demands Java 8 update 121 or higher and will says so if you try to start it with an older version. It has also been tested with Java 9-ea+158.
You can still receive event from previous versions so if your application is still running Java 7 or lower just keep using the 0.9.44 artifacts.
Keep in mind that Java SE 7 End of Public Updates has already been reached.
TemporalAccessor
support to SafeString
.Marker
support.Alt
while selecting Action will match any value for the given key.ClassLoaderName
, ModuleName
and ModuleVersion
in Java 9 StackTraceElement
.java.time.format
instead of SimpleDateFormat
.WhitelistObjectInputStream
.1.8.0_121
.ThrowableCondition
. Condition now evaluates to true if search string is one of the Throwable
contained in the hierarchy (including cause, suppressed) instead of only checking the root exception.EventContainsCondition
is now evaluating Throwable
, NDC and any contained StackTraceElement
values.appendTo
methods of ThrowableInfo
and ExtendedStackTraceElement
now throw a NullPointerException
if StringBuilder
is null
.ExtendedStackTraceElement.appendExtended
is now private.ExtendedStackTraceElement.toString(true)
is now printing "na"
instead of empty string if codeLocation or version is null.HttpStatusTypeCondition
understands more input. "SUCCESSFUL", "su", "2", "2X" and " 2x " will all evaluate to HttpStatus.Type.SUCCESSFUL
.CallLocationCondition
understands more input. "at " and whitespace is now automatically removed.HttpRemoteUserCondition
is less strict. String is first trimmed for both condition and remote user of event. Empty string and "-" are both considered "no user name" and the condition matches accordingly.MDCContainsCondition
without value will now match if the MDC of an event contains any value (even null) for the given key.SafeString
/MessageFormatter
changes. Those only have an effect if Lilith appenders are used.
String
instances contained in Collection
, Map
or Object[]
are now wrapped in apostrophes. This means that an empty Set
will look differently than one containing an empty String
. Similarly, a null
element will look differently than 'null'
.Map
instances are now formatted in Groovy style ([key:value, key2:value2]
) instead of Java style ({key=value, key2=value2}
).byte[]
, Byte[]
and Byte
are now converted to hex values. Because [0xCA, 0xFE, 0xBA, 0xBE]
has better readability than [-54, -2, -70, -66]
.StackTraceElement
it finds in IDEA (if the necessary IDEA plugin is installed). Parsing is much more lenient.SafeString
for "Copy MDC".applicationUUID
is now actually a ULID. The existing methods setCreatingUUID
/isCreatingUUID
and getUUID
in the multiplex appenders are not renamed for compatibility reasons. ULID generation is handled in the new de.huxhorn.sulky:de.huxhorn.sulky.ulid
module.SourceInfo
and related classes. They were all unused and also terrible.LoggingEvents
and related classes. Same as above.AccessEvents
and related classes. Same as above.getTextColor()
, getBackgroundColor()
and getBorderColor()
of class SavedCondition
.AbstractFilterAction
, AbstractLoggingFilterAction
and AbstractAccessFilterAction
.UserNotificationLoggingEventHandler
and UserNotificationAccessEventHandler
.de.huxhorn.lilith.jul-slf4j-handler
. Use org.slf4j:jul-to-slf4j
and enable ch.qos.logback.classic.jul.LevelChangePropagator
instead.java.util.logging.XMLFormatter
. This fixes issue #26.1.8.0_66-internal
which is - strictly speaking - less than 1.8.0_66
since -internal
is a pre-release identifier. Lilith will now accept versions like this if ignoring the pre-release identifier satisfies the version requirement.AccessEvent
sent by SocketAppender
isn't guaranteed to be deserializable at the moment. You can use the Lilith Multiplex Socket Appender in the meantime.
See LOGBACK-1182 - Problem deserializing AccessEvent..append=false
.ClassLoaderName
, ModuleName
and ModuleVersion
for the call location of the event. Search LOG4J_MODULE
in the source to take a look at the problem. Since Log4j 1 End-Of-Life has been announced 2015-08-06, chances are pretty slim that this will be fixed. Upgrade to log4j 2 or Logback.
Donate in Bitcoin. - 19UjvmrDJMBcGDYQoFcrjYPqLRFPSwznZn
Donate in Litecoin. - LU6WM3nmGJy3N5PEE8yQwsAyenJs8dtbmV
Donate in Dogecoin. - DJC1R683hfD4VSEDAJrvNpv6GsCg8ewvhm