1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/modules/migration-using-mig-log-reader.adoc

28 lines
720 B
Plaintext

// Module included in the following assemblies:
//
// * migrating_from_ocp_3_to_4/troubleshooting-3-4.adoc
// * migration_toolkit_for_containers/troubleshooting-mtc
:_content-type: PROCEDURE
[id="migration-using-mig-log-reader_{context}"]
= Using the migration log reader
You can use the migration log reader to display a single filtered view of all the migration logs.
.Procedure
. Get the `mig-log-reader` pod:
+
[source,terminal]
----
$ oc -n openshift-migration get pods | grep log
----
. Enter the following command to display a single migration log:
+
[source,terminal]
----
$ oc -n openshift-migration logs -f <mig-log-reader-pod> -c color <1>
----
<1> The `-c plain` option displays the log without colors.