-LOG msdimport option

The -LOG option can be used with the msdimport utility command.

The log (-LOG) option of the msdimport utility command is used to enable logging. The log file will be produced showing the result of the imported system source file. (-LOG) has an optional parameter to specify the location or file name, or both, for the msdimport log file. The default file name for the msdimport log will be system_source_file_name_import.log. The default location for the msdimport log will be the directory where the system definition (.msd) source file is located.

The file name or the location parameter, if specified with the (-LOG) option of the msdimport utility command, could be the name of the directory where the msdimport log file will be written, the full file path specification in which a wildcard can be used to represent the xml source file, or the full path in which the complete filename can be specified. If the . is specified with the (-LOG) option, the msdimport log will be written to the default location (directory where the xml file is located) using the default naming convention. If a wildcard is specified in the full path, for example, msdimport myxmlfile.xml -LOG C:\MyDev\ImportResults\2003-10-03_*.results, the msdimport log file will be produced in the C:\MyDev\ImportResults directory with the 2003-10-03_myxmlfile.results naming convention. If the complete file name is specified, for example, msdimport myxmlfile.xml -LOG C:\MyDev\ImportResults\myxmlimport_results.txt, the myxmlimport_results.txt will be produced in the C:\MyDev\ImportResults directory.

If the msdimport utility command is unable to create the msdimport log file, the importing of the system source file will terminate and the Fatal error - Could not start importing the system source file, unable to create the log file fatal error message will display on the console. If nothing is specified in the command line for the log, by default, the command line assumes the (-LOG) option is included in the command line, and writes the log messages to the console.