By Roytuts · Cloud
Introduction Are you getting logon denied error while starting or deploying your Spring Boot application into Pivotal Cloud Foundry (PCF) cloud environment? Generally, logon denied error occurs while…
By Roytuts · Spring Boot
Profile Based Logging Here in this example, I am going to show you how to create Spring Boot profile based logging. For any applications logging is an important…
By Roytuts · Spring REST
Introduction Here I am going to build a system to log online user activity in Spring Boot applications using HandlerInterceptor interface. As an application owner you may want…
By Roytuts · Spring Boot
Introduction The ELK Stack is made of three open-source products: 1) Elasticsearch, 2) Logstash, and 3) Kibana. Elasticsearch: It is a NoSQL database which is based on the…
By Roytuts · Microservices, Spring Boot, Spring Cloud
Introduction Here I am going to explain how to trace Spring Boot Microservices logs with Spring Cloud Sleuth and Zipkin Server. Spring Cloud Sleuth provides Spring Boot auto-configuration…
By Roytuts · Java, Spring, Spring Boot
Introduction In this tutorial I will show you how to configure Lombok for logging using @slf4j annotation in Java, Spring and Spring Boot applications. The example shown here…
By Roytuts · Java, Spring Boot
SiftingAppender And MDC In this example you will see how to create or generate separate log file module-wise or for each separate functionality using SiftingAppender in logback with…
By Roytuts · Java
Introduction In this example we will see how to create or generate separate log file module-wise or for each separate functionality using RoutingAppender in log4j2 with the help…
By Roytuts · Spring Boot
Introduction In this tutorial I will show you how to configure log4j2 in Java, Spring and Spring Boot applications. The same log4j2 configuration will work for Java, Spring…
By Roytuts · Spring JPA
Introduction In this tutorial I will show you an example on Spring Data JPA CRUD. Here I will use the embedded or in-memory HSQL database. CRUD means Create,…