mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
28 lines
729 B
Plaintext
28 lines
729 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * migrating_from_ocp_3_to_4/troubleshooting-3-4.adoc
|
|
// * migration_toolkit_for_containers/troubleshooting-mtc
|
|
|
|
:_mod-docs-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.
|