Skip to content

Commit 4ec7051

Browse files
committed
MIG-327: Update mig-log-reader command
1 parent f06032c commit 4ec7051

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

modules/migration-using-mig-log-reader.adoc

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,17 @@ You can use the migration log reader to display a single filtered view of all th
1111

1212
.Procedure
1313

14-
* Run the following command to display a single migration log:
14+
. Get the `mig-log-reader` pod:
1515
+
1616
[source,terminal]
1717
----
18-
$ oc logs -f --selector logreader=mig -n openshift-migration -c color <1>
18+
$ oc -n openshift-migration get pods | grep log
1919
----
20-
<1> You can use the `-c plain` option to display the log without colors.
20+
21+
. Enter the following command to display a single migration log:
22+
+
23+
[source,terminal]
24+
----
25+
$ oc -n openshift-migration logs -f <mig-log-reader-pod> -c color <1>
26+
----
27+
<1> The `-c plain` option displays the log without colors.

0 commit comments

Comments
 (0)