Helidon is designed to have the smallest number of third party dependencies as possible. With that goal in mind, we originally decided to use Java Util Logging (JUL) as its an integral part of the JVM with no added dependencies.
In Helidon 2.2.0, however, we have decided to support the following logging frameworks and some of their features:
· Java Util Logging (JUL) — already supported and does not require any changes in Helidon
· Simple Logging Facade for Java (SLF4J) — an API that can be used to log into multiple logging implementations (logback, Log4j, JUL)
· Log4j (version 2.x) — widely used logging framework
With the addition of Log4j and SLF4J we can now offer Mapped Diagnostic Context (MDC). This highly requested feature allows users to register a value with the MDC using a static method, and then write it to the output. This value could be a tracing ID that we want to see for each message, the current user, or a similar contextual value. Read the complete article here.
For regular information become a member in the Developer Partner Community please register here.
Blog
Twitter
LinkedIn
Facebook
Meetups
Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic