This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-24
Channels
- # aleph (3)
- # beginners (17)
- # boot (8)
- # cider (61)
- # cljdoc (13)
- # cljs-dev (2)
- # clojure (66)
- # clojure-boston (1)
- # clojure-italy (4)
- # clojure-nl (7)
- # clojure-russia (7)
- # clojure-spec (19)
- # clojure-uk (80)
- # clojurescript (73)
- # core-async (4)
- # cursive (6)
- # data-science (1)
- # datomic (33)
- # docs (13)
- # emacs (17)
- # figwheel-main (28)
- # fulcro (12)
- # graphql (1)
- # jobs (3)
- # leiningen (4)
- # luminus (1)
- # off-topic (1)
- # parinfer (1)
- # pedestal (46)
- # protorepl (3)
- # re-frame (30)
- # reagent (47)
- # reitit (10)
- # ring (1)
- # shadow-cljs (94)
- # spacemacs (12)
- # specter (16)
- # tools-deps (6)
- # uncomplicate (1)
- # vim (9)
2018-07-24 02:37:56,677 [XNIO-1 I/O-7] DEBUG io.undertow.websockets.core.request - UT025003: Decoding WebSocket Frame with opCode 1
user> {:data AAAA}
@lepistane That just sounds like you have the logging level set to DEBUG (or lower) somewhere in your application.
Also, maybe that's the default for Undertow?
i am not setting that logging. It could be i will continue developing like this hopefully i realize what's and if it's an issue
Lots of things produce log messages. Is this just the first time you've seen a log message in the REPL?
If you have Timbre in the app, it's fairly easy to tell it to suppress logging from certain Java packages or Clojure namespaces -- or just set the log level to INFO (which will suppress the debug messages). I'm not sure what Sente uses -- been a long time since I looked at Sente -- and I've never used Undertow as far as I know.
Sente does use Timbre so if you (:require '[taoensso.timbre :as timbre])
in your main app you can (timbre/set-level! :info)
and that should clean things up @lepistane
one question, i am using sente+re-frame and in my handler
(defmethod -event-msg-handler :bus-line/coord
[{:as ev-msg :keys [?data]}]
(do (println "Push coord from server: %s" ?data)
(rf/dispatch [:bus-line/coord (:coord ?data)])))
this dispatch just doesn't work
println does get triggered but dispatch doesnt
but it works if i eval it
what am i missing?
why doesn't it workIn clojure, Is there any way through which i can have some kind of monitoring / charting solutions to monitor application performance like CPU usage,query run time,Queue ms etc.??
@U36FXS8SD, I was reading about the grafana, In supported data-sources i don't find the one which i am using, HikariCP.
hikaricp looks like a connection pool abstraction for jdbc. So that would be if you plan on using Postgres or something for your Grafana datasource.
You would use Hikari on your clojure side, and grafana would connect to postgres via its own mechanism
pretty much anything that works on your host platform (assuming jvm here but same applies in clr or js)