<p>When I type <code>kubectl log pod/yourpod</code> to get my pod's logs, behind the scene, k8s must read the log from somewhere in my pod.</p>
<p>What's the default path to the log generated by my container?
How to change the path?</p>
<p>Inside my container, my process uses <code>sigs.k8s.io/controller-runtime/pkg/log</code> to generate logs.</p>

Mike
<p>It is the console output (stdout / stderr) that is captured by the container runtime and made available by the kubelet running on the node to the API server.</p>
<p>So there is not real log file, though the container runtime usually has a means of buffering the logs to the file system.</p>
