X

Developer Partner Community

Helidon, Logging, and MDC by Tomas Langer

Juergen Kress
PaaS Partner Adoption

image

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.

 

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.