How to disable console logging in spring-boot?

It turned out if I set the following property empty, the console logging is disabled:

logging.pattern.console=

 

Reference

https://stackoverflow.com/questions/43918414/how-to-disable-console-logging-in-spring-boot