Spring Boot Extension: Logback-access Auto Configuration.
- Embedded Tomcat
- Embedded Jetty
<dependency>
<groupId>net.rakugakibox.springbootext</groupId>
<artifactId>spring-boot-ext-logback-access</artifactId>
<version>1.0</version>
</dependency>
logback.access:
config: "classpath:your-logback-access.xml"
# Auto-detected by default.
# => "classpath:logback-access-test.xml"
# => "classpath:logback-access.xml"
# => "classpath:net/rakugakibox/springbootext/logback/access/logback-access.xml"
<configuration>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>common</pattern>
</encoder>
</appender>
<appender-ref ref="CONSOLE" />
</configuration>
See Also: HTTP-access logs with logback-access, Jetty and Tomcat - Logback-access
Licensed under the Apache License, Version 2.0.