Comments (13)
Hi guys, sorry the lack of timbre 5 support is causing annoyance. I have most of the code ready but have been very short of time recently due to work. I hope to be able to dedicate some time to getting this finished soon, and will announce here when it is ready. Thanks for your continued patience.
from slf4j-timbre.
I have successfully reproduced this issue and have identified the root cause. It is a consequence of timbre renaming :level
to :min-level
in 5.0.0.
When slf4j-timbre is compiled (against timbre 4.10.0), the line (timbre/with-level :info ...)
macro-expands to (assoc *config* :level :info)
.
At runtime, your project (with timbre 5 on the classpath) reads the value of :min-level
, which is not set, so defaults to :debug
.
I will try to figure out the best way to solve this.
from slf4j-timbre.
Are there any known issues with timbre 5.0.0? At least we are seeing libraries using slf4j to logging at DEBUG level with timbre 5.0.0, when they didn't with timbre 4. with slf4j-timbre 0.3.19
from slf4j-timbre.
Thanks for letting me know. I haven't yet tested slf4j-timbre with timbre 5.0.0. I will investigate this issue ASAP
from slf4j-timbre.
@jsyrjala please try 0.3.20
!
from slf4j-timbre.
I tried 0.3.20 and we are still seeing debug logs with timbre 5.x and not seeing them with timbre 4.x.
from slf4j-timbre.
That is very strange 😕
Please could you give me as much detail as possible about how your project is triggering this behaviour? A small test case would be ideal.
Many thanks
from slf4j-timbre.
I use it with timbre v5, but I get this warning printed in console:
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior to 1.8.
SLF4J: Ignoring binding found at [jar:file:/home/andreas/.m2/repository/com/fzakaria/slf4j-timbre/0.3.21/slf4j-timbre-0.3.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
from slf4j-timbre.
I use it with timbre v5, but I get this warning printed in console:
SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions prior to 1.8. SLF4J: Ignoring binding found at [jar:file:/home/andreas/.m2/repository/com/fzakaria/slf4j-timbre/0.3.21/slf4j-timbre-0.3.21.jar!/org/slf4j/impl/StaticLoggerBinder.class]
What you are seeing is probably #45.
from slf4j-timbre.
Any update on updating this library to timbre v5?
from slf4j-timbre.
@rufoa I see you have forked this repo. Is your fork working? I find it very annoying that since timbre 5 this library did break don. It really should be a simple thing... What could be done is to make a different artefact, and then the different timbre versions are easily visible.
from slf4j-timbre.
Hi! Any news in this?
from slf4j-timbre.
@awb99 yes! Please try out the new snapshot and let me know if it works for you.
I've not yet finished my overhaul of the integration tests, which should give me more confidence that everything works with different library versions and configurations. But I can't keep you waiting for that!!
from slf4j-timbre.
Related Issues (20)
- Cannot use with jboss owing to nil assertion on arg-array HOT 3
- Does not respect TIMBRE_LEVEL compile time var HOT 3
- Remove Compiled classes from the distributed jar HOT 2
- Use of clojure.string without require HOT 2
- context is not passed to output-fn HOT 2
- Noisy Netty logs show up after adopting this library HOT 15
- Choice of two errors, no errors is not an option HOT 2
- NoClassDefFoundError attempting to log using 0.3.18 HOT 6
- SLF4j actual binding gets unset when importing dgraph4j HOT 3
- can't silence logs in tests HOT 2
- High log volume can cause serious performance degredation HOT 8
- configuration from file HOT 2
- Could not find artifact HOT 1
- slf4j-api 2.0.0-alpha1 - not working HOT 13
- binding with slf4j-api does not work HOT 1
- Default log level does not match default timbre log level HOT 3
- timbre 6.0 support
- Regression for timbre v6
- Including `slf4j-timbre` in Timbre core's unit tests? HOT 4
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 slf4j-timbre.