Coder Social home page Coder Social logo

wuxiaochun1981 / spring-boot-ext-logback-access Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akkinoc/logback-access-spring-boot-starter

0.0 1.0 0.0 27 KB

Spring Boot Extension: Logback-access Auto Configuration.

Home Page: https://github.com/akihyro/spring-boot-ext-logback-access

Java 96.86% HTML 3.14%

spring-boot-ext-logback-access's Introduction

spring-boot-ext-logback-access

Spring Boot Extension: Logback-access Auto Configuration.

Status

Maven Central Circle CI

Supported servlet containers

  • Embedded Tomcat
  • Embedded Jetty

Usage

Maven dependency:

<dependency>
    <groupId>net.rakugakibox.springbootext</groupId>
    <artifactId>spring-boot-ext-logback-access</artifactId>
    <version>1.0</version>
</dependency>

Configuration properties (application.yml):

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"

Logback-access configuration example (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

License

Licensed under the Apache License, Version 2.0.

spring-boot-ext-logback-access's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.