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


Last update: 2021-12-02
Back to top