Skip to content

Commit 45ce24e

Browse files
committed
MIG-421 Using unified logger in MTC
1 parent 665e9d3 commit 45ce24e

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

migration/migrating_3_4/troubleshooting-3-4.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Manual rollback is not required if the application was not stopped during migrat
1616
====
1717

1818
include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1]
19+
include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1]
1920
include::modules/migration-downloading-logs.adoc[leveloffset=+1]
2021
include::modules/migration-updating-deprecated-gvks.adoc[leveloffset=+1]
2122
include::modules/migration-error-messages.adoc[leveloffset=+1]

migration/migrating_4_1_4/troubleshooting-4-1-4.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Manual rollback is not required if the application was not stopped during migrat
1616
====
1717

1818
include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1]
19+
include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1]
1920
include::modules/migration-downloading-logs.adoc[leveloffset=+1]
2021
include::modules/migration-error-messages.adoc[leveloffset=+1]
2122
include::modules/migration-manually-rolling-back-migration.adoc[leveloffset=+1]

migration/migrating_4_2_4/troubleshooting-4-2-4.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Manual rollback is not required if the application was not stopped during migrat
1616
====
1717

1818
include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1]
19+
include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1]
1920
include::modules/migration-downloading-logs.adoc[leveloffset=+1]
2021
include::modules/migration-error-messages.adoc[leveloffset=+1]
2122
include::modules/migration-manually-rolling-back-migration.adoc[leveloffset=+1]
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * migration/migrating_3_4/troubleshooting-3-4.adoc
4+
// * migration/migrating_4_1_4/troubleshooting-4-1-4.adoc
5+
// * migration/migrating_4_2_4/troubleshooting-4-2-4.adoc
6+
7+
[id='migration-using-mig-log-reader_{context}']
8+
= Using the migration log reader
9+
10+
You can use the migration log reader to display a single filtered view of all the migration logs.
11+
12+
.Procedure
13+
14+
* Run the following command to display a single migration log:
15+
+
16+
[source,terminal]
17+
----
18+
$ oc logs -f --selector logreader=mig -n openshift-migration -c color <1>
19+
----
20+
<1> You can use the `-c plain` option to display the log without colors.

0 commit comments

Comments
 (0)