Where is --spring.output.ansi.enabled configured?

phil picture phil · Dec 28, 2017 · Viewed 7.9k times · Source

I have inherited a java Spring Boot project and I'm new to most java configurations. When I run this application in debug mode the first argument passed to my application as args[0] is --spring.output.ansi.enabled=always. I have searched my project files but cannot see where this might be configured to turn off, that is I do not want it passed in as an argument. I am using the Spring STS 3.9.1 IDE.

Answer

phil picture phil · Dec 29, 2017

In the Spring STS IDE the Debug Configuration has an option ANSI console output which was checked. Unchecking stopped the argument being passed.