Git Product home page Git Product logo

Comments (6)

akkinoc avatar akkinoc commented on June 15, 2024 1

You're welcome.

I added a description about the version of Logback-access :)

https://github.com/akihyro/spring-boot-ext-logback-access/blob/master/README.md (79180d8)

This extension requires Logback-access version 1.1.6 or higher.
If you use Spring Boot version 1.3.0 - 1.3.3, specify the version of Logback-access.
For example on Maven-based projects:

<properties>
    <logback.version>1.1.7</logback.version>
</properties>

from logback-access-spring-boot-starter.

dinhnv avatar dinhnv commented on June 15, 2024 1

@akihyro Actually I've already configured it out. Thank you.

from logback-access-spring-boot-starter.

akkinoc avatar akkinoc commented on June 15, 2024

In your project, what version of Logback-access?

In the case of Spring Boot 1.3.3.RELEASE, it will be used Logback-access 1.1.5 by default.
But, "spring-boot-ext-logback-access" requires Logback-access 1.1.6 or higher.

Please use Spring Boot 1.3.4.RELEASE (Logback-access 1.1.7 by default) or higher.
Or, please use Logback-access 1.1.6 or higher.

For example on Maven-based projects (pom.xml):

<parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>1.3.4.RELEASE</version>
</parent>

or

<properties>
    <logback.version>1.1.6</logback.version>
</properties>

Thanks.

from logback-access-spring-boot-starter.

dinhnv avatar dinhnv commented on June 15, 2024

Thank for your reply.
The issue was caused by Spring Boot version 1.3.3.RELEASE with default logback-access 1.1.5 as you mention.
The document about "Spring Boot 1.3.0+" together with "Logback-access 1.1.6+" sometimes makes confusion.
I decide to upgrade Spring Boot version and It works well.
Thank for your support.

from logback-access-spring-boot-starter.

dinhnv avatar dinhnv commented on June 15, 2024

Thank for your supporting @akihyro .

I'm using Gradle.

So where can I specific logback.version globally?

It works well with bellow configuration for version 1.2:

compile('ch.qos.logback:logback-access:1.1.5')
compile('net.rakugakibox.springbootext:spring-boot-ext-logback-access:1.2')

BTW, currently we have not supported springProfile tag for xml configration yet, right?

from logback-access-spring-boot-starter.

akkinoc avatar akkinoc commented on June 15, 2024

Sorry for the late reply.
I have never used Gradle, so I can not help it properly.

Can the following articles help you?

79.1 Customize dependency versions - Spring Boot Reference Guide

To override dependency versions in Gradle, you can specify a version as shown below:

ext['slf4j.version'] = '1.7.5'

For additional information, please refer to the Gradle Dependency Management Plugin documentation.

from logback-access-spring-boot-starter.

Related Issues (20)

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.