Code Monkey home page Code Monkey logo

Comments (1)

thiloplanz avatar thiloplanz commented on June 12, 2024

The Ziti JVM SDK uses SLF4J for its logging. The output can be configured in the "normal" ways.

I was about to update the documentation with a sample how to do that with Spring Boot, but at the moment we don't follow the standard naming convention for logger names, which makes this a bit cumbersome. A library is expected to group all its loggers under a prefix, so that they can be targeted for configuration easily. But we name loggers ZitiContextImpl instead of, say, org.openziti.impl.ZitiContextImpl. (The spring-boot module already follows this pattern, but the core library does not).

Is it okay if I change class ZitiLog to use the full package name?

Also, for the recurring log output in question here, I think we should lower its level to DEBUG (which will already remove the output in most setups in their default configuration).

The best you can probably do right now is putting something like this into application.properties (if you use Spring Boot), but that will also silence some other potentially useful INFO.

logging.group.ziti = ZitiContextImpl
logging.level.ziti = WARN

from ziti-sdk-jvm.

Related Issues (19)

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.