Bug 1815016
Summary: | [RFE] oc logs --all-containers does not use marker to mark the beginning for each container | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Xingxing Xia <xxia> |
Component: | oc | Assignee: | Maciej Szulik <maszulik> |
Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | aos-bugs, jokerman, mfojtik |
Target Milestone: | --- | ||
Target Release: | 4.4.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-05-04 11:47:02 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Xingxing Xia
2020-03-19 10:38:27 UTC
This should be already available with --prefix flag which should add pod and/or container name in front of the logs. [root@dhcp-140-138 ~]# oc logs doublecontainers --all-containers --prefix=true [pod/doublecontainers/hello-openshift] Started, serving at 8080 [pod/doublecontainers/hello-openshift-fedora] serving on 8081 [pod/doublecontainers/hello-openshift-fedora] serving on 8888 [root@dhcp-140-138 ~]# oc version -o yaml clientVersion: buildDate: "2020-03-23T01:14:57Z" compiler: gc gitCommit: 2576e482bf003e34e67ba3d69edcf5d411cfd6f3 gitTreeState: clean gitVersion: 4.4.0-202003230106-2576e48 goVersion: go1.13.4 major: "" minor: "" platform: linux/amd64 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:0581 |