-LOG mexport option

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

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

The file name, or the location parameter, if specified with the (-LOG) option of the mexport utility command, could be the name of the directory where the mexport log file will be written, the full file path specification in which a wildcard can be used to represent the map source file, or the full path in which the complete filename can be specified. If the . is specified with the (-LOG) option, the mexport log will be written to the default location (directory where the map source file is located) using the default naming convention. If a wildcard is specified in the full path, for example, mexport mymaps.mms -LOG C:\MyDev\ExportResults\2002-02-28_*.results the mexport log file will be produced in the C:\MyDev\ExportResults directory with the 2002-02-28_mymaps.results naming convention. If the complete file name is specified, for example, mexport mymaps.mms -LOG C:\MyDev\ExportResults\mymaps_results.txt, the mymaps_results.txt file will be produced in the C:\MyDev\ExportResults directory.

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