This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-19
Channels
- # announcements (1)
- # aws (9)
- # beginners (136)
- # boot (4)
- # cider (11)
- # clara (36)
- # clojure (337)
- # clojure-europe (5)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-spec (9)
- # clojure-uk (112)
- # clojured (7)
- # clojurescript (93)
- # core-async (2)
- # cursive (30)
- # datomic (6)
- # duct (4)
- # emacs (2)
- # figwheel (1)
- # figwheel-main (7)
- # fulcro (153)
- # kaocha (1)
- # off-topic (12)
- # om-next (1)
- # pedestal (58)
- # planck (6)
- # re-frame (15)
- # reitit (11)
- # shadow-cljs (113)
- # spacemacs (1)
- # specter (3)
- # vim (8)
Hello! Does anyone have experience getting figwheel-main to work in a sane way with timbre? I get tons of debug output "DEBUG [org.eclipse.jetty..." when I load timbre and the *->slf4j->timbre redirectors.
Is there some Clojure code that figwheel-main will execute on startup (where I could configure Timbre)? A special namespace or so?
@urzds I am starting figwheel with the API https://figwheel.org/docs/scripting_api.html#starting-figwheel-from-the-repl-or-script and do (taoensso.timbre/merge-config! {:ns-blacklist ["org.eclipse.jetty.*"]})
before that. Maybe there's an easier way that I don't know.
@jkr.sw Thanks! I created a custom -main
function in a figwheel-dev
namespace, which I use instead of figwheel.main
now. (It just calls timbre/set-level!
followed by figwheel.main
.)
greetings! please help:
$ clojure -m figwheel.main -w src -co foo.cljs.edn -c
2019-02-19 19:52:38.818:INFO::main: Logging initialized @4770ms
[Figwheel] Compiling build foo to "main.js"
[Figwheel] Failed to compile build gains in 0.12 seconds.
[Figwheel:WARNING] Compile Exception: error=2, No such file or directory
[Figwheel:SEVERE] java.io.IOException: error=2, No such file or directory
I can't even figure out which such file