<p>I Have an AKS (Azure Container Service) configured, up and running, with kubernetes installed. </p>

<p>Deploying containers on using [kubectl proxy] and the GUI of Kubernetes provided. </p>

<p>I am trying to increase the log level of the pods in order to get more information for better debugging. </p>

<p>I read a lot about <code>kubectl config set</code></p>

<p>and the log level <code>--v=0</code> [0-10]</p>

<p>but not being able to change the log level. it seems the documentation</p>

<p>can someone point me out in the right direction? </p>

<p>The <code>--v</code> flag is an argument to <code>kubectl</code> and specifies the verbosity of the <code>kubectl</code> output. It has nothing to do with the log levels of the <em>application</em> running inside your Pods.</p>

<p>To get the logs from your Pods, you can run <code>kubectl logs &lt;pod&gt;</code>, or read <code>/var/log/pods/&lt;namespace&gt;_&lt;pod_name&gt;_&lt;pod_id&gt;/&lt;container_name&gt;/</code> on the Kubernetes node.</p>

<p>To increase the log level of your application, your application has to support it. And like @Jose Armesto said above, this is usually configured using an environment variable.</p>
