Debugging the Data Mapper Utility and Various Connectors (Magic xpi 4.6)
To debug the Data Mapper utility and various other connectors:
To debug the Data Mapper utility and various other connectors, and to obtain access to the errors received regarding SQL statements, use the project's settings in the Settings dialog box (Project menu > Settings > Project Environment > Debugging Flags).
Magic xpi will create a log in the Magic xpi logs folder.
To debug the SAP R/3 connector:
To debug the SAP R/3 connector, you need to change the debug level in the log4j.xml file, located in the <Magic xpi installation>\Runtime\java\classes folder.
Magic xpi will create a log in the Magic xpi logs folder.
The following two sections in the log4j.xml file represent the SAP R/3 step debug and the SAP R/3 trigger debug. To debug the SAP R/3 connector, you should change the level value (shown below in red) in both of these sections from off to debug (<level value="debug"/>).
<!--
sapr3 ifc logger:
should not pass messages up the hierarchy (additivity=false)
-->
<logger name="magicxpi.component.sapr3.step" additivity="false">
<level value="off"/>
<appender-ref ref="SapR3-Step-appender"/>
</logger>
<!--
sapr3 Trigger logger:
should not pass messages up the hierarchy (additivity=false)
-->
<logger name="magicxpi.component.sapr3.trigger" additivity="false">
<level value="off"/>
<appender-ref ref="SapR3-Trigger-appender"/>
</logger>