diff --git a/migration/migrating_3_4/troubleshooting-3-4.adoc b/migration/migrating_3_4/troubleshooting-3-4.adoc index d407048667..5bfcf28152 100644 --- a/migration/migrating_3_4/troubleshooting-3-4.adoc +++ b/migration/migrating_3_4/troubleshooting-3-4.adoc @@ -16,6 +16,7 @@ Manual rollback is not required if the application was not stopped during migrat ==== include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1] +include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1] include::modules/migration-downloading-logs.adoc[leveloffset=+1] include::modules/migration-updating-deprecated-gvks.adoc[leveloffset=+1] include::modules/migration-error-messages.adoc[leveloffset=+1] diff --git a/migration/migrating_4_1_4/troubleshooting-4-1-4.adoc b/migration/migrating_4_1_4/troubleshooting-4-1-4.adoc index 31f32b6ec4..f63bb4ba30 100644 --- a/migration/migrating_4_1_4/troubleshooting-4-1-4.adoc +++ b/migration/migrating_4_1_4/troubleshooting-4-1-4.adoc @@ -16,6 +16,7 @@ Manual rollback is not required if the application was not stopped during migrat ==== include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1] +include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1] include::modules/migration-downloading-logs.adoc[leveloffset=+1] include::modules/migration-error-messages.adoc[leveloffset=+1] include::modules/migration-manually-rolling-back-migration.adoc[leveloffset=+1] diff --git a/migration/migrating_4_2_4/troubleshooting-4-2-4.adoc b/migration/migrating_4_2_4/troubleshooting-4-2-4.adoc index 1cc8d1df87..c39885ded1 100644 --- a/migration/migrating_4_2_4/troubleshooting-4-2-4.adoc +++ b/migration/migrating_4_2_4/troubleshooting-4-2-4.adoc @@ -16,6 +16,7 @@ Manual rollback is not required if the application was not stopped during migrat ==== include::modules/migration-viewing-migration-crs.adoc[leveloffset=+1] +include::modules/migration-using-mig-log-reader.adoc[leveloffset=+1] include::modules/migration-downloading-logs.adoc[leveloffset=+1] include::modules/migration-error-messages.adoc[leveloffset=+1] include::modules/migration-manually-rolling-back-migration.adoc[leveloffset=+1] diff --git a/modules/migration-using-mig-log-reader.adoc b/modules/migration-using-mig-log-reader.adoc new file mode 100644 index 0000000000..16d17e9c9d --- /dev/null +++ b/modules/migration-using-mig-log-reader.adoc @@ -0,0 +1,20 @@ +// Module included in the following assemblies: +// +// * migration/migrating_3_4/troubleshooting-3-4.adoc +// * migration/migrating_4_1_4/troubleshooting-4-1-4.adoc +// * migration/migrating_4_2_4/troubleshooting-4-2-4.adoc + +[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 + +* Run the following command to display a single migration log: ++ +[source,terminal] +---- +$ oc logs -f --selector logreader=mig -n openshift-migration -c color <1> +---- +<1> You can use the `-c plain` option to display the log without colors.