-LOG tanalyze option
The log (-LOG) option of the tanalyze utility command is used to enable logging. The log file produced shows the results of the schema analysis. This option has an optional parameter to specify the file name and location for the log file. The default file name for the tanalyze log will be tanalyze_schema_name.log. The default location for the tanalyze log will be the directory where the schema file is located.
The file name or the location parameter, if specified with the ( -LOG ) option of the tanalyze utility command, could be the name of the directory where the tanalyze log file will be written, the full file path specification in which a wildcard can be used to represent the schema file, or the full path in which the complete filename can be specified. If the . is specified with the ( -LOG ) option, the tanalyze log will be written to the default location (or the directory where the schema file is located) using the default naming convention. If a wildcard is specified in the full path, for example, tanalyze myschema.mtt -LOG C:\MyDev\AnalyzeResults\2002-02-28_*.results, the tanalyze log file will be produced in the C:\MyDev\AnalyzeResults directory with the 2002-02-28_myschema.results naming convention. If the complete file name is specified, for example, tanalyze myschema.mtt -LOG C:\MyDev\AnalyzeResults\myschema_results.txt, the myschema_results.txt file will be produced in the C:\MyDev\AnalyzeResults directory.
If the tanalyze utility command is unable to create the tanalyze log file, the schema analyzing process 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. If nothing is specified in the command line for -LOG (neither -LOG or -NOLOG) or if no parameter is provided for -LOG, the command line assumes the (-LOG) option is included in the command line, and writes the log messages to the console.