All work
- Provide slf4j 2.0 factoryTLOG-28Resolved issue: TLOG-28
- Permit selecting clojure.tools.logging.impl/disabled-logger-factory via JVM system propertyTLOG-27
- Perf of `condp = level#`TLOG-26
- Throwables are converted to strings if they are the only argument to a logging function.TLOG-25
- Choosing slf4j means that fatal level log messages are treated as error level log messagesTLOG-24Resolved issue: TLOG-24Alexander Taggart
- (log/Error ClassCastException "msg") causes IllegalArgumentExceptionTLOG-23Resolved issue: TLOG-23Alexander Taggart
- Fix typo at README for `result is 1/2`TLOG-22Resolved issue: TLOG-22Alexander Taggart
- Reflection warning when logging to log4j2TLOG-21Resolved issue: TLOG-21Alexander Taggart
- log/info removes quotes from strings making debugging harder than it needs to be.TLOG-20Resolved issue: TLOG-20Alexander Taggart
- Add Log4j2 factoryTLOG-19Resolved issue: TLOG-19Alexander Taggart
- Support custom levelsTLOG-18Resolved issue: TLOG-18Alexander Taggart
- ExceptionInfo not printing data field when AOT?TLOG-17Resolved issue: TLOG-17Andrea Richiardi
- Add ClojureScript support?TLOG-16Resolved issue: TLOG-16Alexander Taggart
- Generated logging code uses eval to get logger namespaceTLOG-15Resolved issue: TLOG-15Alexander Yakushev
- Logging backend (factory) for AndroidTLOG-14Resolved issue: TLOG-14Alexander Yakushev
- tools.logging ns form :require and :use subforms unrecognized by tools.namespaceTLOG-13Resolved issue: TLOG-13Alexander Taggart
- Reflection Warnings when using tools.loggingTLOG-12Resolved issue: TLOG-12Alexander Taggart
- tools.logging doesn't AOTTLOG-11Resolved issue: TLOG-11Alexander Taggart
- Double-evaluation of argumentsTLOG-10Resolved issue: TLOG-10Alexander Taggart
- spy macro (or new spy macro) that accepts a messageTLOG-9Resolved issue: TLOG-9Alexander Taggart
- README.md still refers to using version 0.2.3 of tools.loggingTLOG-8Resolved issue: TLOG-8Alexander Taggart
- Reflection warningsTLOG-7Resolved issue: TLOG-7Alexander Taggart
- tools.logging does not log to stdout when run from swank-clojureTLOG-6Resolved issue: TLOG-6Alexander Taggart
- Improvement of sample code in README.mdTLOG-5Resolved issue: TLOG-5Alexander Taggart
- Provided implementations of logging protocols fail.TLOG-4Resolved issue: TLOG-4Alexander Taggart
- Move implementation-specific details out of main nsTLOG-3Resolved issue: TLOG-3Alexander Taggart
- Change "log" semantics to "logger" semanticsTLOG-2Resolved issue: TLOG-2Laurent PETIT
- Non-optimized, no-exception path for logp calls log* with wrong arityTLOG-1Resolved issue: TLOG-1Alexander Taggart
28 of 28
Provide slf4j 2.0 factory
Fixed
Description
Environment
None
Details
Assignee
UnassignedUnassignedReporter
Alex MillerAlex MillerPriority
Major
Details
Details
Assignee
Unassigned
UnassignedReporter
Alex Miller
Alex MillerPriority

Created November 15, 2022 at 6:22 PM
Updated February 2, 2023 at 3:45 PM
Resolved February 2, 2023 at 3:45 PM
Activity
Show:
Alex MillerFebruary 2, 2023 at 3:45 PM
From Eugen on Slack: "All that it's needed is to have the new slf4j 2.0 API on the classpath.
clojure tools-logging uses factory# (org.slf4j.LoggerFactory/getILoggerFactory) which was migrated to use ServiceLoader". I updated test deps to 2.0.6, but made no code changes.
Per
s there interest in adding a slf4j 2 factory to clojure tools.logging ?
slf4j 2 changed how it discovers implementations - now it uses java ServiceLoader (standard) facilities.
On the client side version 1.x of API is compatible with version 2.x of API.
Implementations however have changed - how the implementation is loaded.
I don't think the old way of loading is working to find new slf4j 2.0 implementations that use service loader .
(edited) .