Comments (1)
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)
- Fix Unstable and Inconsistent Ziti Socket Factory HOT 6
- Endpoint enrolment throws ziti controller login failure error HOT 2
- MFA support
- OpenZiti Crypto loading error HOT 1
- host/service names added to the ZitiDNSManager are not case normalized
- Enroller.fromJWT throws "non-null password required" HOT 1
- Add ability to wait for a service to be available by host and port
- AsyncSocketImpl can throw a SocketTimeoutException when the socket timeout is not set
- Regression in JVM SDK - 0.23.8+ HOT 2
- Terminators not restored after loosing network connectivity
- Creating a socket using context fails
- Create reasonable README
- make appData passed by the client accessible on the service side
- Whether to intercept traffic globally HOT 2
- “Executing git command failed with 128” HOT 2
- Build Problem
- Java Module-rize ziti library
- Improve Edge Router connection life-cycle HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ziti-sdk-jvm.