<p>Have few developer logs in kubernetes pods, what is the best method to get the logs for the developers to see it.</p>

<p>Any specific tools that we can use?</p>

<p>I have the option of graylog, but not sure if that can be customized to get the developer logs into it.</p>

<p>The most basic method would be to simply use <code>kubectl logs</code> command:</p>

<blockquote>
  <p>Print the logs for a container in a pod or specified resource. If the
  pod has only one container, the container name is optional.</p>
</blockquote>

<p><a href="https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#logs" rel="nofollow noreferrer">Here</a> you can find more details regarding the command and it's flags alongside some useful examples.</p>

<p>Also, you may want to use:</p>

<ul>
<li><p><a href="https://kubernetes.io/docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/" rel="nofollow noreferrer">Logging Using Elasticsearch and Kibana</a></p></li>
<li><p><a href="https://kubernetes.io/docs/tasks/debug-application-cluster/logging-stackdriver/" rel="nofollow noreferrer">Logging Using Stackdriver</a></p></li>
</ul>

<p>Both should do the trick in your case.</p>

<p>Please let me know if that is what you had on mind and if my answer was helpful.</p>
