Spring Boot: How to disable console logging using properties
To disable console logging, add the following properties to application.properties file:
If you want to enable console logging in your IDE, here are two ways to re-enable it:
- Add an alias to the log file /path/to/folder/application.log in your Run Configuration
- Override the property "logging.pattern.console" in your Run Configuration
Tested with Spring Boot 2.1.4