Skip to content

Instantly share code, notes, and snippets.

@gnosis23
Created June 9, 2014 13:22
Show Gist options
  • Save gnosis23/d03a5bc436d49a1bab87 to your computer and use it in GitHub Desktop.
Save gnosis23/d03a5bc436d49a1bab87 to your computer and use it in GitHub Desktop.
logback configuration file
<configuration>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
</encoder>
</appender>
<logger name="model.Report" level="DEBUG" />
<root level="INFO">
<appender-ref ref="STDOUT" />
</root>
</configuration>
@gnosis23
Copy link
Author

gnosis23 commented Jun 9, 2014

        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>slf4j-api</artifactId>
            <version>1.7.7</version>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-classic</artifactId>
            <version>1.1.2</version>
        </dependency>

        <dependency>
            <groupId>ch.qos.logback</groupId>
            <artifactId>logback-core</artifactId>
            <version>1.1.2</version>
        </dependency>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment