`oc logs` doesn't work - failed to get parse function: unsupported log format: "\n"

Solution Verified - Updated -

Issue

  • Cannot see pod logs with oc logs <POD-NAME>.
  • docker or crictl logs from within the node where the POD runs works as expected.
  • oc logs failed to get parse function

Environment

  • OpenShift Container Platform 3.11

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