This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-01
Channels
- # announcements (5)
- # aws (2)
- # babashka (35)
- # beginners (68)
- # bristol-clojurians (1)
- # calva (14)
- # cider (9)
- # clj-commons (5)
- # clojars (3)
- # clojure (101)
- # clojure-australia (6)
- # clojure-europe (35)
- # clojure-italy (2)
- # clojure-nl (5)
- # clojure-spec (1)
- # clojure-uk (4)
- # clojurescript (70)
- # conjure (3)
- # cursive (7)
- # datomic (36)
- # emacs (11)
- # exercism (1)
- # fulcro (23)
- # helix (2)
- # jobs-discuss (15)
- # lsp (17)
- # malli (8)
- # meander (1)
- # nrepl (60)
- # off-topic (10)
- # pedestal (9)
- # react (8)
- # reagent (53)
- # reveal (10)
- # shadow-cljs (27)
- # spacemacs (4)
- # tools-build (4)
- # tools-deps (4)
- # xtdb (2)
anyone using reveal with timbre under leiningen? Struggling to keep my reveal setup separate from the projects I work on, and would like to merge timbre reveal appender with the log config in the leiningen project context, but struggle a bit to make sense of the info google provides... perhaps #leiningen is more suitable, but thought I'd check with you guys. This is with emacs+cider.
You probably want a leiningen profile that adds some source paths with your code that installs the appender?
Trying to keep it “local” in ~/.lein/profiles.clj
, which adds the reveal appender to timbre. And it works via tap, but barfs on something that looks like a Thread issue. I am "injecting" the appender via timbre merge-config!
to a logger written with stuart sierra’s component. The result is that the output "hangs", when jetty spits out all the stuff it does. Blacklisting jetty namespace via timbre is not observed in reveal window, Which is strange.
The error is a java.lang.InterruptedException
. Might not be reveal specific, this whole thing, but if I include the reveal appender in the component itself, everything works as expected.
Can you share a stack trace? If there is an issue with Reveal, maybe it'll help to figure out what goes wrong there..
2021-10-02T06:59:01.727Z WARN [org.eclipse.jetty.util.component.AbstractLifeCycle:234] - FAILED ManagedSelector@377dfe05{FAILED} id=0 keys=0 selected=0 updates=1: java.lang.InterruptedException
nrepl.middleware.interruptible-eval/evaluate/fn interruptible_eval.clj: 87
...
clojure.core/with-bindings* core.clj: 1973 (repeats 2 times)
clojure.core/apply core.clj: 665
...
nrepl.middleware.interruptible-eval/evaluate/fn/fn interruptible_eval.clj: 87
clojure.core/eval core.clj: 3214
...
dev/eval40471 REPL Input
dev/restart dev.clj: 17
...
app.init/init init.clj: 46
app.init/init init.clj: 52
com.stuartsierra.component.SystemMap/start component.cljc: 179
com.stuartsierra.component/start-system component.cljc: 162
com.stuartsierra.component/start-system component.cljc: 164
...
com.stuartsierra.component/update-system component.cljc: 130
com.stuartsierra.component/update-system component.cljc: 136
clojure.core/reduce core.clj: 6827
...
com.stuartsierra.component/update-system/fn component.cljc: 140
com.stuartsierra.component/try-action component.cljc: 118
clojure.core/apply core.clj: 667
...
com.stuartsierra.component/eval470/fn/G component.cljc: 5 (repeats 2 times)
app.http.server.HTTPServer/start server.clj: 24
app.http.server/create-server server.clj: 12
ring.adapter.jetty/run-jetty jetty.clj: 172
org.eclipse.jetty.util.component.AbstractLifeCycle.start AbstractLifeCycle.java: 72
org.eclipse.jetty.server.Server.doStart Server.java: 385
org.eclipse.jetty.util.component.AbstractLifeCycle.start AbstractLifeCycle.java: 72
org.eclipse.jetty.server.ServerConnector.doStart ServerConnector.java: 231
org.eclipse.jetty.server.AbstractNetworkConnector.doStart AbstractNetworkConnector.java: 81
org.eclipse.jetty.server.AbstractConnector.doStart AbstractConnector.java: 320
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart ContainerLifeCycle.java: 110
org.eclipse.jetty.util.component.ContainerLifeCycle.start ContainerLifeCycle.java: 169
org.eclipse.jetty.util.component.AbstractLifeCycle.start AbstractLifeCycle.java: 72
org.eclipse.jetty.io.SelectorManager.doStart SelectorManager.java: 262
org.eclipse.jetty.util.component.ContainerLifeCycle.doStart ContainerLifeCycle.java: 117
org.eclipse.jetty.util.component.ContainerLifeCycle.start ContainerLifeCycle.java: 169
org.eclipse.jetty.util.component.AbstractLifeCycle.start AbstractLifeCycle.java: 72
org.eclipse.jetty.io.ManagedSelector.doStart ManagedSelector.java: 123
java.util.concurrent.CountDownLatch.await CountDownLatch.java: 232
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly AbstractQueuedSynchronizer.java: 1345
java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly AbstractQueuedSynchronizer.java: 1040