Changing the template

Report a typo

Let's try to change the log output template. Go to the logback.xml configuration file and change the pattern as shown below:

<pattern>New Message->>> %msg %highlight(\(%-5level\)) %n</pattern>

What message will appear in the console if you call log.debug("hypermessage!") ?

Enter a short text
___

Create a free account to access the full topic