This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-23
Channels
- # announcements (3)
- # asami (5)
- # babashka (1)
- # beginners (38)
- # biff (4)
- # calva (12)
- # cider (2)
- # clj-commons (6)
- # clj-kondo (46)
- # clj-on-windows (1)
- # clojure (50)
- # clojure-europe (41)
- # clojure-nl (3)
- # clojure-norway (2)
- # clojure-uk (16)
- # clojured (3)
- # clojurescript (49)
- # conjure (1)
- # cursive (29)
- # datahike (6)
- # datascript (4)
- # emacs (70)
- # funcool (1)
- # google-cloud (12)
- # graalvm (10)
- # graalvm-mobile (7)
- # gratitude (4)
- # hyperfiddle (1)
- # joyride (26)
- # lsp (16)
- # malli (23)
- # nbb (5)
- # off-topic (23)
- # polylith (32)
- # re-frame (23)
- # releases (3)
- # remote-jobs (1)
- # reveal (3)
- # tools-build (16)
- # xtdb (50)
Does anyone here know now to emit structured logs ( https://cloud.google.com/logging/docs/samples/logging-write-log-entry#logging_write_log_entry-java ) ideally via clojure.tools.logging
?
I have a cloud run process
actually clearly clojure.tools.logging isn’t going to do it… as it’s an unstructured logger — in which case are there any wrappers for it?
Looks like this route might be possible: clojure.tools.logging -> slf4j -> logback -> https://github.com/googleapis/java-logging-logback
@oliver.marks: Thanks but “structured logging” and “GCP’s structured logging” are I think two different things.
It’s very hard to get details on what the underlying format is… I think it’s some kind of REST API underneath
looks like it might be protocol buffers underneath