-LOG msdexport option

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

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

The file name or the location parameter, if specified with the (-LOG) option of the msdexport utility command, could be the name of the directory where the msdexport 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 msdexport log will be written to the default location (directory where the (.msd) file is located) using the default naming convention. If a wildcard is specified in the full path, for example, msdexport mysystems.msd -LOG C:\MyDev\ExportResults\2003-10-03_*.results, the msdexport log file will be produced in the C:\MyDev\ExportResults directory with the 2003-10-03_mysystems.results naming convention. If the complete file name is specified, for example, msdexport mysystems.mms -LOG C:\MyDev\ExportResults\mysystemsexport_results.txt, the mysystemsexport_results.txt will be produced in the C:\MyDev\ExportResults directory.

If the msdexport utility command is unable to create the msdexport log file, the exporting of the system source file will terminate and the Fatal error - Could not start exporting 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.