I only want to log errors in my spring boot application. This is what I have in my application.properties file:
logging.level.com.test.login=ERROR
However, that seems to only catch errors in my application. Is there a way to set it globally for everything, so I only see errors printed to my console, and nothing else? Now it prints tons of INFO statement:

logging.level.root=ERROR