title: Where is the log file for `kubectl log pod/yourpod`
body: <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>