Log Files
You can use the ScanState and LoadState logs, as well as the progress log to help monitor your migration. To view the applicable command-line options, see Monitoring options.
Note
You cannot store any of the log files in StorePath. If you do, the log will be written over when USMT is run.
Scanstate and Loadstate logs
Scanstate and Loadstate logs are both text files that are created when you run each of the tools. Although these logs are targeted mostly at developers, you can use these logs to help monitor the migration. To enable the verbose output, you should specify a verbosity level using the /v option. These logs will provide no valuable information if you do not specify a verbosity level. If the log already exists, the tools append the existing log. The content of the log depends on the command-line options that you use and the verbosity level that you specify.
Progress log
You can create a progress log using the /progress option. External tools, such as Microsoft Operations Manager (MOM), can parse the progress log to update your monitoring systems. The first 3 fields in each line are fixed. The fixed fields are:
- Date: Date is in the format of dayshortNameOfTheMonthyear. For example: 08 Jun 2006.
- Local time: Time is in hrs:minutes:seconds (24-hour clock). For example: 13:49:13.
- Migration time: How long USMT was run in hrs:minutes:seconds. For example: 00:00:10.
The rest of the fields are key/value pairs as indicated in the following table.
Key | Value |
---|---|
program | ScanState.exe or LoadState.exe. |
productVersion | The full product build version of USMT. |
computerName | The name of the computer on which USMT was run. |
commandLine | The full command by which USMT was run. |
PHASE | Defines that a new phase in the migration is starting. Can be one of Initializing, Scanning, Collecting, Saving, Estimating, or Applying. |
detectedUser |
|
includedInMigration | Defines whether the user profile/component is included for migration (Yes or No). |
forUser | Specifies either of the following:
|
detectedComponent | Specifies a component detected by USMT
|
totalSizeInMBToTransfer | Total size of the files and settings to migrate in megabytes (MB). |
totalPercentageCompleted | Total percentage of the migration that has been completed by either ScanState or LoadState. |
collectingUser | Specifies which user ScanState is collecting files and setting for. |
totalMinutesRemaining | Time estimate in minutes for the migration to complete. |
error | Type of non-fatal error occurred. Can be one of the following:
|
objectName | The name of the file or setting that caused the non-fatal error |
action | Action taken by USMT for the non-fatal error. The values are:
|
errorCode | The errorCode or return value. |
numberOfIgnoredErrors | The total number of non-fatal errors that USMT ignored. |
message | The message corresponding to the errorCode. |