This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-15
Channels
- # aleph (1)
- # announcements (7)
- # beginners (6)
- # calva (24)
- # cider (18)
- # clj-otel (1)
- # clojars (8)
- # clojure (22)
- # clojure-dev (11)
- # clojure-europe (52)
- # clojure-finland (12)
- # clojure-nl (1)
- # clojure-norway (28)
- # clojure-uk (7)
- # clojured (1)
- # cursive (6)
- # datomic (1)
- # events (1)
- # humbleui (41)
- # hyperfiddle (75)
- # lsp (46)
- # malli (34)
- # matrix (1)
- # off-topic (16)
- # releases (1)
- # shadow-cljs (12)
- # squint (11)
- # timbre (1)
- # tools-deps (24)
What might be wrong if cider-log-framework
only lists logback and j.u.l. but not timbre? cider-version
reports 1.14.0-snapshot
Assuming cider-nrepl is latest as well (maybe your project / user config overrides it), I don't immediately know But it works to set it in .dir-locals or otherwise https://github.com/clojure-emacs/logjam/blob/6b370391f50b76149ffac608758ac8468428a459/.dir-locals.el#L8
I'm running with [cider/cider-nrepl "LATEST"]
so I hope it's fresh enough 🙂
0.43.3
, 0.44.0
, & 0.45.0
, so at least the latest has been fetched
Nope, I tried altering the variable directly from emacs, but couldn't see any effect. Well, perhaps there's just something broken in my setup, no need to debug further. I was just curious how the new log feature worked
Were you following the https://docs.cider.mx/cider/debugging/logging.html? It describes a couple ways - which one had you tried? I understand it's not critical but it would help us to have things in a great state, and discoverable/usable
pretty much
1. (setopt cider-log-framework "Timbre")
2. cider-log-show
3. See "Log framework:" prompt in the minibuffer with Logback & Java Util Logging as choices (which conflicts what the guide says about not asking about the framework)
I guess this has something to do with cider-sync-request:log-frameworks
not returning anything related to timbre :man-shrugging:
our project is using timbre 5.2.1 from march 2022, so perhaps there's some requirement to use a more recent version?
log-frameworks is dynamic - doesn't return a hardcoded list
> our project is using timbre 5.2.1 from march 2022, so perhaps there's some requirement to use a more recent version?
Seems a good call. Timbre and Encore often incur into incompatible changes. So maybe our require
was failing, hiding the choice? Feel free to try latest
yeah, got it working with the latest 6.3.1 timbre. I can do a bit of bisecting to figure out the minimal version that works
it looks like 6.3.1 is the only version that works, I tried 6.0.0 and a few other version in between.