Spring Boot uygulaması Console Renklendirme

Application.properties için;

logging.pattern.console= %d{yyyy-MMM-dd HH:mm:ss.SSS} [%thread] %highlight(%-5level) %cyan(%logger{15}) – %msg %n

VM optionsa ekleyebileceğimiz;

-Dspring.output.ansi.enabled=ALWAYS

Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

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