List/Grid Tag Archives: Logging

GlassFish Operations: Log Notifications
The of the most prominent requirements for application servers derive from the operations space. Taking this into account the next Java EE platform specification will focus entirely ...

Logback: Application errors notification
Some months ago when I was doing big application refactoring I found really annoying pieces of log4j based code used for logging repeated hundreds of times: if (LOG.isDebugEnabled()) ...

Using slf4j with logback tutorial
In current post I am going to show you how to configure your application to use slf4j and logback as logger solution. The Simple Logging Facade For Java (slf4j) is a simple facade ...

Filter irrelevant stack trace lines in logs
I love stack traces. Not because I love errors, but the moment they occur, stack trace is priceless source of information. For instance in web application the stack trace shows you ...

Configure LogBack Logging with Spring
LogBack is an API for logging created by the same author of Log4j (a newer implementation, it is like a new version), during this article I’m going to show how to integrate it and ...

Log4j, Stat4j, SMTPAppender Integration – Aggregating Error Logs to Send Email When Too Many
Our development team wanted to get notified as soon as something goes wrong in our production system, a critical Java web application serving thousands of customers daily. The idea ...

Logging exceptions root cause first
The 0.9.30 release of Logback logging library brings new awesome feature: logging stack traces starting from root (innermost) exception rather than from the outermost one. Of course ...

The Java Logging Mess
Every application needs logging. And right now there are a lot of options on what exactly to use for logging in Java. The most famous frameworks are: log4j, logback, commons-logging, ...

10 Tips for Proper Application Logging
Our latest JCP partner, Tomasz Nurkiewicz, has submitted a number of posts describing the basic principles of proper application logging. I found them quite interesting, thus I decided ...


