Fork me on GitHub
#google-cloud
<
2022-02-11
>
rickmoynihan12:02:22

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

rickmoynihan12:02:27

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

rickmoynihan13:02:52

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

👍 1