Fork me on GitHub
#cider
<
2023-11-13
>
Eric Dvorsak11:11:45

I discovered the cider-log mode and it looks awesome. I'm wondering what I'm missing though to get it to work, all my logs are going to the nrepl-server buffer and cider-log stays empty

vemv11:11:17

hi Eric, nice to see you around here 👋 have you checked out https://docs.cider.mx/cider/debugging/logging.html ? It's compatible with a few frameworks, and it needs expicit activation

Eric Dvorsak11:11:27

hi! nice to see you too! Yes that's where I coming from, I did M-x cider-log The project uses timbre with this lib https://github.com/runejuhl/clj-journal so I'm not sure what logging framework to pick, actually cider-log only lets me pick java util logging

Eric Dvorsak11:11:46

I guess the issue is that timbre doesn't use any java logging framework by default

vemv11:11:47

Taking a quick look, that project optionally uses Timbre, else no framework

Eric Dvorsak11:11:11

it just println

vemv11:11:21

https://github.com/clojure-emacs/logjam has no Timbre adapter, its author may be happy to add Timbre compat If it's all stdout/stderr, I don't know if Logjam has / could possibly have an adapter Feel free to create an issue for either path