This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-22
Channels
- # adventofcode (12)
- # announcements (17)
- # babashka (46)
- # beginners (105)
- # calva (7)
- # chlorine-clover (7)
- # cider (9)
- # clj-kondo (41)
- # cljsrn (16)
- # clojure (67)
- # clojure-australia (1)
- # clojure-europe (24)
- # clojure-france (6)
- # clojure-germany (10)
- # clojure-italy (1)
- # clojure-losangeles (3)
- # clojure-nl (4)
- # clojure-uk (11)
- # clojurescript (8)
- # cursive (8)
- # data-oriented-programming (1)
- # data-science (1)
- # datomic (11)
- # defnpodcast (4)
- # events (1)
- # fulcro (34)
- # graalvm (6)
- # helix (3)
- # jackdaw (19)
- # jobs-discuss (1)
- # leiningen (9)
- # luminus (2)
- # malli (15)
- # mathematics (2)
- # meander (5)
- # mental-health (1)
- # off-topic (4)
- # pathom (23)
- # podcasts-discuss (1)
- # polylith (4)
- # quil (3)
- # re-frame (81)
- # react (1)
- # reagent (19)
- # reitit (4)
- # releases (1)
- # reveal (11)
- # shadow-cljs (54)
- # specter (14)
- # tools-deps (16)
- # vscode (2)
- # xtdb (3)
Hello everyone! I'm looking around for a way to expose backend logs (io.pedestal.log -> logback) via REST or HTTP. I stumbled upon http://logback.qos.ch/access.html which seems a good pointer, does anyone have experience on doing this in clj using reitit?
I guess I could just read, parse and return structured data from the logfile itself, I was just looking if there was a better alternative.
Hi,
Is it possible to extract a non parameterized part of the route into a parameter?
For example, /type_a/hi/:name
and /type_b/hi/:name
have different handlers, but I’d like to know in the handler if the request came from type_a
or type_b
without parsing the url
["/v1.0" {:middleware [middleware-a middleware-b middleware-c]}
["/type_a" {:swagger {:tags [:type-a]}}
["/hi/:name" {:post {:handler hi-for-type-a-handler}}]
["/goodbye/:name" {:post {:handler goodbye-for-type-a-handler}}]]
["/type_b" {:swagger {:tags [:type-b]}}
["/hi/:name" {:post {:handler hi-for-type-b-handler}}]
["/goodbye/:name" {:post {:handler goodbye-for-type-b-handler}}]]]