6 January 2017

How to get colourful console logging output in Spring Boot using IntelliJ IDEA?

A nice little tip for IntelliJ IDEA users who are using Spring Boot.

I discover some time ago that by default IntelliJ IDEA will display logging output in classic way. However Spring Boot support colourful output.
In order to enable colourful output then in Srping Boot Application you need add below line to  application.properties (in resources ):

spring.output.ansi.enabled=ALWAYS
Done :)

BEFORE:

AFTER:


Enjoy Rainbow style logs :)