This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-02-06
Channels
- # bangalore-clj (2)
- # beginners (55)
- # boot (32)
- # bristol-clojurians (4)
- # cider (16)
- # clara (13)
- # cljsrn (6)
- # clojure (110)
- # clojure-india (1)
- # clojure-italy (69)
- # clojure-spec (32)
- # clojure-uk (15)
- # clojurescript (102)
- # community-development (6)
- # cursive (1)
- # datomic (9)
- # docs (2)
- # duct (1)
- # emacs (39)
- # events (3)
- # fulcro (131)
- # garden (1)
- # immutant (4)
- # jobs (1)
- # jobs-discuss (5)
- # keechma (1)
- # lein-figwheel (6)
- # leiningen (6)
- # mount (6)
- # nrepl (2)
- # off-topic (69)
- # om (54)
- # parinfer (7)
- # re-frame (63)
- # reagent (13)
- # remote-jobs (1)
- # shadow-cljs (90)
- # spacemacs (8)
- # specter (6)
- # sql (16)
- # testing (1)
- # unrepl (3)
- # vim (4)
- # yada (1)
What is the best way to change which data are logged to stdout with duct and timbre? I’ve just deployed an duct-app to heroku and we send our logs to Papertrail. This results in a lot of info on each row in the log
Feb 06 15:13:00 cloudamqp-alarms-clj app/worker.1: 18-02-06 14:13:00 2a9ce60b-a31a-48f2-8cbe-682ab726dbab INFO [?:?] - :alarms.handler.analyze/change-alarms {:cluster_name "................", :type "cpu", :id 186, :current-state :resolve}
This: Feb 06 15:13:00 cloudamqp-alarms-clj app/worker
Comes from Heroku and I can’t remove that.
So what I want to do is sending only log level, event (the namespaced keyword) and the data. So just like duct.logger.timbre/brief
except that appender doesn’t handle exceptions which I need. What is the best way to do that?