No OpenShift logs generated by a functional, running application

Solution Unverified - Updated -

Issue

  • My running pod doesn't show any logs
  • oc logs <pod-name> and the OpenShift WebConsole don't show any logs on a running pod
  • Application is generating logs that I can see in some container folder, like /var/log/*, but nothing shows up when I run oc logs

Environment

  • Red Hat OpenShift Container Platform
    • 3.x
    • 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content