Enterprise Java

[FREE EBOOK] The Complete Guide to Java Logging in Production

Java logging

How the World’s Leading Companies Choose How and What to Log (Based on analysis of GitHub’s top 400,000 repositories)

It’s no secret that log files are noisy and difficult to navigate. With seemingly endless data coming in from our applications, the uses for such data must also be endless. Or so we thought. The abundance of log aggregation and analyzer tools, gives us the ability to parse the data for security, BI and application monitoring purposes.

BUT, the value of our logs is entirely dependent on what, and how, we write statements to the logs in the first place.

So, we set out to understand how developers use logs by looking at 779,236 logging statements on GitHub. What went in? What was left out? And what does all this mean for the value of our log files?

What’s Inside:

  1. ERROR, WARN or FATAL? – An examination of the log level breakdown use for the average Java application
  1. Is Standard Java Logging Dead? – Putting the focus on the use of standard java.util.logging levels versus more popular frameworks like Log4j, Log4j2, and Logback
  1. Over 50% of Java Logging Statements Are Written Incorrectly – A look at the crucial missing piece that prevents the logs from pointing to the real root cause of your errors
  1. What’s the Top Java Logging Method on GitHub? – Parameters, concatenations or both; which logging method are your peers using, and which method is right for you?

Tali Soroker

Tali studied theoretical mathematics at Northeastern University and loves to explore the intersection of numbers and the human condition. In her free time, she enjoys drawing and spending time with animals.
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Back to top button