Adding SAP JCO logging information to any windows service
In order for additional JCO logging to take place it may be necessary to adjust the configuration for the Windows service. Open the Gimmal Link Enterprise Service configuration by clicking on the “Gimmal Service” application in the Gimmal program group (Optionally you can double click on the gimmal.exe application found under the service folder in the installation directory) Click on the “Java” tab and scroll the “Java Options:” window all the way to the bottom. There will be two lines that determine where the JCO logs will go (jco.trace_path) and the amount of logging to perform (jco.trace_level). For more information on the trace level refer to SAP JCO documentation. For this example the setting of 10 gives complete logging information. For that reason it is best to leave this additional logging only enabled when needed to better understand a JCO communication error with SAP and not leave it enabled in a production environment.
-Djco.trace_path="<Put the Gimmal Link Enterprise Connector installation folder here>\logs\"
-Djco.trace_level=10