-LOG timport option
The log (-LOG) option of the timport utility command is used to enable logging. The log file will be produced showing the result of the imported schema. The -LOG option has an optional parameter to specify the location or file name, or both, for the timport log file. The default file name for the timport log will be mts_file_name.log. The default location for the timport log will be the directory where the mts file is located.
The file name or the location parameter, if specified with the ( -LOG ) option of the timport utility command, could be the name of the directory where the timport log file will be written, the full file path specification in which a wildcard can be used to represent the mts file, or the full path in which the complete filename can be specified. If . is specified with the -LOG option, the timport log will be written to the default location (directory where the schema file is located) using the default naming convention. If a wildcard is specified in the full path, for example, timport mymts.mts -LOG C:\MyDev\ImportResults\2002-02-28_*.results, the timport log file will be produced in the C:\MyDev\ImportResults directory with the 2002-02-28_mymts.results naming convention. If the complete file name is specified, for example, timport mymts.mts -LOG C:\MyDev\ImportResults\mymts_results.txt, the mymts_results.txt will be produced in the C:\MyDev\ImportResults directory.
If the timport utility command is unable to create the timport log file, importing of the metadata definitions to the schema will terminate, and the Fatal error - Could not start importing the schema, 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 will be included in the command line, and writes the log messages to the console.