google-cloud

2022-02-11T12:20:22.353899Z

👋 How are folks logging from clojure apps running in Google Cloud Run? Logging to stdout/stderr doesn’t seem great for stacktraces. I’m also using containers built with jib; which iirc defaults to an immutable filesystem, though google claim they’ll also pick stuff up if you write to files under /var/log/

2022-02-11T12:23:27.602659Z

if you do this, are you supposed to rotate them, or can you just infinitely append, and rely on it being handled by google?

2022-02-11T13:00:52.797529Z

ok looks like just setting a volume at /var/log and configuring the logger to append to a file in there works

👍 1