Where is logback encoder pattern documentation

JavaLoggingLog4jLogback

Java Problem Overview


I've gone through all the documentation of logback and I can't find anywhere the documentation to configure the encoder's pattern when logging, such as:

<encoder>
  <pattern>%d{HH:mm:ss.SSS} %-4relative %-5level %logger{35} - %msg%n</pattern>
</encoder>

I would like a table (like the one that log4j has) explaining the different options to configure the pattern.

Where is the documentation of the pattern? Maybe they are defined in another project?

Java Solutions


Solution 1 - Java

Probably you should take a look at Chapter 6: Layouts...

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionpakoreView Question on Stackoverflow
Solution 1 - JavaanirvanView Answer on Stackoverflow