Created
July 17, 2013 01:10
-
-
Save mroger/6016811 to your computer and use it in GitHub Desktop.
Arquivo de configuração simples de exemplo do logback com ativação do JMX.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<configuration scan="true" scanPeriod="3 seconds"> | |
<jmxConfigurator /> | |
<statusListener class= | |
"ch.qos.logback.core.status.OnConsoleStatusListener"/> | |
<appender name="STDOUT" | |
class="ch.qos.logback.core.ConsoleAppender"> | |
<layout class="ch.qos.logback.classic.PatternLayout"> | |
<pattern> | |
%d{HH:mm:ss.SSS} %-5level %logger{16} - %msg%n | |
</pattern> | |
</layout> | |
</appender> | |
<root> | |
<level value="DEBUG"/> | |
<appender-ref ref="STDOUT"/> | |
</root> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment