Fork me on GitHub
#babashka
<
2022-07-17
>
pinkfrog14:07:56

Is it possible to bb to print the stack trace when error occurs. Currently I only see the Error type:

borkdude14:07:36

Normally yes, but in some cases the preservation of locations is not good enough to create a stacktrace. This should be improved and if you post an issue about this, with examples, that would help.

pinkfrog14:07:38

@borkdude Are you using timbre in bb more as an alternative solution due to logback cannot run on bb? I remember juxt radar is now on holding timbre due to some performance issue. Do you have similar experience?

borkdude14:07:56

@i I've used timbre in lots of projects and never experienced an issue with it personally. It's easy to use without any xml config which makes it more suited for small bb scripts.

borkdude14:07:46

Libraries should program against the clojure.tools.logging interface so people can swap out their implementations in other applications. in bb scripts I don't expect timbre performance to be an issue

thanks3 2