log4j container logging on Kubernetes log4j container logging on Kubernetes kubernetes kubernetes

log4j container logging on Kubernetes


All you have to do is configure log4j to send its logs to stdout and/or stderr. That'll cause them to be shipped to whichever central logging service your cluster was configured with (Google Cloud Logging if you're on GKE).