-LOG mreport option

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

The log (-LOG) option of the mreport utility command is used to enable logging. The log file will be produced showing the result of the generated map report HTML file. (-LOG) has an optional parameter to specify the location or file name, or both, for the mreport log file. The default file name for the mreport log will be map_source_file_name.log. The default location for the mreport 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 mreport utility command, could be the name of the directory where the mreport log file will be written, the full file path specification in which a wildcard can be used to represent the HTML file, or the full path in which the complete filename can be specified. If the . is specified with the (-LOG) option, the mreport log will be written to the default location, which is the directory where the map source file is located, using the default naming convention. If a wildcard is specified in the full path, for example, mreport mymmsfile.mms -LOG C:\MyDev\MapReportResults\2002-02-28_*.results, the mreport log file will be produced in the C:\MyDev\MapReportResults directory with the 2002-02-28_mymmsfile.results naming convention. If the complete file name is specified, for example, mreport mymmsfile.mms -LOG C:\MyDev\MapReportResults\myhtmlmapreport_results.txt, the myhtmlmapreport_results.txt file will be produced in the C:\MyDev\MapReportResults directory.

If the mreport utility command is unable to create the mreport log file, the map report generation of the map source file will terminate and the Fatal error : Could not start the process, unable to create the log file fatal error message will display on the console. There might be additional information in the error message depending on the cause of the fatal error. 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.