-LOG mimport option
The -LOG option can be used with the mimport utility command.
The log -LOG option of the mimport utility command is used to enable logging. The log file will be produced showing the result of the imported map source file. (-LOG) has an optional parameter to specify the location or file name, or both, for the mimport log file. The default file name for the mimport log will be xml_source_file_name.log. The default location for the mimport log will be the directory where the xml file is located.
The file name or the location parameter, if specified with the (-LOG) option of the mimport utility command, could be the name of the directory where the mimport 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 mimport 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, mimport myxmlfile.xml -LOG C:\MyDev\ImportResults\2002-02-28_*.results, the mimport log file will be produced in the C:\MyDev\ImportResults directory with the 2002-02-28_myxmlfile.results naming convention. If the complete file name is specified, for example, mimport myxmlfile.xml -LOG C:\MyDev\ImportResults\myxmlimport_results.txt, the myxmlimport_results.txt will be produced in the C:\MyDev\ImportResults directory.
If the mimport utility command is unable to create the mimport log file, the importing of the map source file will terminate and the Fatal error - Could not start importing the map 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.