google-cloud 2022-02-11

👋 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/

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

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

👍 1