Home » Author Archives: Mayank Gupta

Author Archives: Mayank Gupta

Mayank Gupta
Senior JEE developer with experience in large scale IT projects, especially in the telecommunications and financial services sectors. Mayank has been designing and building J2EE applications since 2007. Fascinated by all forms of software development; keen to explore upcoming areas of technology like AI, machine learning, blockchain development and AR. Lover of gadgets, apps, technology and gaming.

Git Commands Tutorial

If you are a software developer, there is a pretty good chance that you must have used version control software in one form or the other. Git has surged in popularity over the past few years succeeding SVN and CVS. With almost every open source project migrated to Git as a version control of choice, it currently seems like a de-facto ...

Read More »

Solving Failed to load class “org.slf4j.impl.StaticLoggerBinder” Error

1. Introduction The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks (e.g. java.util.logging, logback, log4j). This allows the end user to plug in the desired logging framework at deployment time. SLF4J facilitates your code to make logging calls without binding to a specific logging implementation. This comes real handy for libraries ...

Read More »

Slf4j Spring Boot Example

In this example, we are going to learn how to use SLF4J in Spring projects with an example of Spring Boot application. 1. Introduction The Simple Logging Facade for Java (SLF4J) serves as a simple facade or abstraction for various logging frameworks (e.g. java.util.logging, logback, log4j) allowing the end user to plug in the desired logging framework at deployment time. ...

Read More »

Slf4j Format String Example

In this example, we are going to see how String log messages can be constructed in SLF4J with parameter substitution. 1. Introduction SLF4J is a facade or an abstraction layer over various logging frameworks. Also known as Simple logging Facade for Java is not actually a logging implementation, instead, it’s an abstraction layer. It allows you to use any logging library ...

Read More »

Log4j Database Appenders Example

In this example, we are going to learn how to log messages from our application into database with log4j. 1. Introduction Log4J is one of the many logging frameworks available to use with Java, perhaps the most popular of all of them. With Log4J you can log general flow of the application as well as record exceptions. Few points to ...

Read More »

Slf4j Commons Logging Example

In this example, we are going to see how SLF4J fares vis-à-vis Apache Commons Logging. 1. Introduction From time immemorial, logging has remained an integral part of programming enterprise applications and so does the logging frameworks. With Java, comes a wide variety of logging frameworks to choose from. While writing a library (to be used any application), it is desirable that ...

Read More »

Slf4j Configuration File Example

In this example, we are going to see how to configure Slf4j with some popular logging frameworks. SLF4J is a facade or an abstraction layer over various logging frameworks. Ok, what does that mean? Also known as Simple logging Facade for Java is not actually a logging implementation, instead, it’s an abstraction layer. It allows you to use any logging ...

Read More »