Spring Boot 2.1 introduced log groups. A log group is a logical name for one or more loggers. We can define log groups in our application configuration. Then we can set the log level for a group, so all loggers in the group will get the same log level. This can be very useful to change a log level for multiple loggers that belong together with one setting. Spring Boot already provides two log groups by default: web and sql. In the following list we see which loggers are part of the default log groups:
Archive: February 2019
To get an overview of all Gradle tasks in our project we need to run the
tasks task. Since Gradle 5.1 we can use the
--group option followed by a group name. Gradle will then show all tasks belonging to the group and not the other tasks in the project.
In a previous post we learned how to include parts of a document in the generated output.
The included parts are defined using tags.
The start of a tag is defined in a comment with the format
tag::_tagName_ and the end has the format
Next we must use the
tags attribute for the
include macro followed by the tagName.
If we don’t want to include a tag we must prefix it with an exclamation mark (