Logback

From NovaOrdis Knowledge Base
Revision as of 16:46, 9 November 2018 by Ovidiu (talk | contribs) (→‎Internal)
Jump to navigation Jump to search

External

Internal

Example

<configuration>
  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <encoder>
      <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n </pattern>
    </encoder>
  </appender>
  <logger name="root" level="INFO"/> <root level="INFO">
  <appender-ref ref="STDOUT" /> </root>
</configuration>