Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Spring Boot color console logging working within Intellij?

Has anyone figured out how to get color output working within Intellij Idea for a Spring Boot application?

like image 708
joshuawhite929 Avatar asked Feb 28 '15 16:02

joshuawhite929


People also ask

How do I run Springbootapplication in IntelliJ?

Run your Spring Boot application and open the Services tool window: select View | Tool Windows | Services or press Alt+8 . Select your running Spring Boot application and open the Endpoints tab.


1 Answers

Using a Mac, Intellij Idea 14 and Spring Boot v1.2.2.RELEASE, all you have to do is set:

spring.output.ansi.enabled=ALWAYS

I have added this as a VM option (-Dspring.output.ansi.enabled=ALWAYS). Works great!

like image 193
joshuawhite929 Avatar answered Oct 13 '22 18:10

joshuawhite929