Logback using SLF4J Hello World Example

75,869 views
By Abhijit Ghosh on Nov 21, 2012 11:40:00 AM

Logback is an increasingly popular logging framework intended as a successor to the popular log4j project. It is designed by the founder of log4j. Logback offers many advantages over log4j like faster, smaller memory footprint, automatic reloading of configuration files, automatic compression of archived log files, conditional processing of configuration files and many more. For more details go through the following link Reasons to prefer logback over log4j.

This tutorial describes how to configure SLF4J and Logback as logging solution of an application.

Tags:

Send logs by Email Notification using Apache log4j SMTPAppender

48,938 views
By Abhijit Ghosh on Oct 11, 2012 2:46:33 AM

It is always better to get notified as soon as any major issues / exceptions occurred in the Application, instead of manually going thorugh huge logs to find probable exception messages. Apache log4j provides out of the box log Appender (called SMTPAppender) to send email alerts for the log level configured in log4j configuration file.

Tags:

Configure Simple Logging Facade for Java (SLF4J) with log4j as underlying logging framework

58,304 views
By Abhijit Ghosh on Sep 26, 2012 1:30:13 PM

Simple Logging Facade for Java (SLF4J) is an abstraction of different logging frameworks (eg. log4j, java.util.logging, commons logging etc.). This tutorial describes how to configure SLF4J with log4j as underlying logging framework.

Tags:

Hello World Example of Simple Logging Facade for Java or SLF4J

176,584 views
By Abhijit Ghosh on Jul 15, 2012 10:02:15 PM

Simple Logging Facade for Java (SLF4J) is an abstraction of different logging frameworks (eg. log4j, java.util.logging, commons logging etc.). This gives the developer an opportunity to plug-in desired logging framework at deployment time without changing the code.

Tags:

About this 'Hello World' site

This site is mainly developed to share coding and technology learning experiences on java / j2ee based technologies.

Simple tutorials / codes have been shared to learn a new technology. Full source code is also available for download.