Skip to content

migrate:messages

10.4+

View any messages associated with a migration.

Examples

  • migrate:messages article. Show all messages for the article migration
  • migrate:messages article --idlist=5. Show messages related to article record with source ID 5.
  • migrate:messages node_revision --idlist=1:2,2:3,3:5. Show messages related to node revision records with source IDs [1,2], [2,3], and [3,5].
  • migrate:messages custom_node_revision --idlist=1:"r:1",2:"r:3". Show messages related to node revision records with source IDs [1,"r:1"], and [2,"r:3"].

Arguments

  • migrationId. The ID of the migration.

Options

  • --idlist=IDLIST. Comma-separated list of IDs to import. As an ID may have more than one column, concatenate the columns with the colon ':' separator.
  • --format=FORMAT. Format the result data. Available formats: csv,json,list,null,php,print-r,sections,string,table,tsv,var_dump,var_export,xml,yaml [default: table]
  • --fields=FIELDS. Available fields: Level (level), Source ID(s) (source_ids), Destination ID(s) (destination_ids), Message (message), Source IDs hash (hash) [default: level,source_ids,destination_ids,message,hash]
  • --field=FIELD. Select just one field, and force format to string.

Global Options

  • -v|vv|vvv, --verbose. Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
  • -y, --yes. Auto-accept the default for all user prompts. Equivalent to --no-interaction.
  • -l, --uri=URI. A base URL for building links and selecting a multi-site. Defaults to https://default.
  • To see all global options, run drush topic and pick the first choice.

Topics

Aliases

  • mmsg
  • migrate-messages

Legend

  • An argument or option with square brackets is optional.
  • Any default value is listed at end of arg/option description.
  • An ellipsis indicates that an argument accepts multiple values separated by a space.