<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<!--
Copyright (c) 2006 UGS Corp.

All Rights Reserved.

This software and related documentation are proprietary to UGS Corp.
-->
<html>
   <head>
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Error reporting</title>
      <script language="javaScript">
        abridged="false";
        displayConditions=new Array();
      </script>
      <link type="text/css" href="../css/main_styles.css" rel="stylesheet">
   </head>
   <body class="bodydocs" onload="top.pageLoader()" bgcolor="#FFFFFF">
      <div class="title_topic2" id="xps10_pagetitle">Error reporting</div>
      <hr noshade="true">
      <table cellspacing="4" align="center">
         <tr valign="top">
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('ugtojt/error_config_set.html');return(false);">Config settings for error reporting</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('ugtojt/error_log_file.html');return(false);">Log file</a></p>
            </td>
            <td bgcolor="#f7f7f7" colspan="1" rowspan="1">
               <p class="para_td"><a class="links" href="javascript:void(0)" onclick="top.openFile('ugtojt/error_messages.html');return(false);">Messages</a></p>
            </td>
         </tr>
      </table><br><p class="para_topic">The error reporting system provides an increased level of error reporting and a greater level of configuration control. It also allows you to edit the content and add information to the error messages.</p>
      <p class="para_topic">There are three types of messages</p>
      <ul>
         <li>
            <p class="para_item">ERROR: Provides a description of the error.</p>
         </li>
         <li>
            <p class="para_item">WARNING: Provides a warning about the translation process or the items being translated.</p>
         </li>
         <li>
            <p class="para_item">INFO: Describes the current step in the translation process.</p>
         </li>
      </ul>
      <p class="para_topic">The log file contains information messages, warning messages and error messages, depending on what is specified in the configuration file. For example, a typical information message in the log file would look like this: </p>
      <p class="para_topic">INFO 3150: Processing part [block.prt]</p>
      <p class="para_topic">All the messages are located in a text file that you can edit. You can modify the message content and add additional information for each message, based on your requirements and procedures.</p>
      <p class="para_topic">There are three new configuration options in the translator configuration file for the error reporting mechanism: </p>
      <ul>
         <li>
            <p class="para_item">LogReporting</p>
         </li>
         <li>
            <p class="para_item">ConsoleReporting </p>
         </li>
         <li>
            <p class="para_item">LogFileName</p>
         </li>
      </ul>
      <p class="para_topic">The earlier error reporting mechanism provided by the <a class="links" href="javascript:void(0)" onclick="top.openFile('ugtojt/error_warnings.html');return(false);">EAI_UG_LOGGING_LEVEL</a> environment variable is still supported, but it is overridden when you use both mechanisms. A warning message is displayed on the screen when you use the previous error reporting system.
      </p>
      <p class="para_topic">There are some errors that the earlier error reporting mechanism captured, which cannot be captured by the new mechanism because of code structure limitations.</p>
   </body>
</html>