Verastream SDK for Airlines
Tracing and Debugging

The SDK is capable of producing tracing information to assist in diagnosing communication problems in an SDK application.  The amount of detail produced and the destination of the information can be controlled with XML parameters.

To enable tracing information, the application creates a special “screen” object.  This is created in the same manner as a normal screen object, ie. with a call on requestScreenEx.  This special object should not be saved and supports none of the normal screen interface functions.

To create this object, an XML string of the following form should be passed to requestScreenEx:

<TraceLog EnableTracing="true" [trace settings] />

You must use a separate call from requestScreenEx to get a special screen object for the trace.

Use the trace settings from this list:

Setting Description
TraceLogFile="FILENAME”  Write the trace to a file.
ConsoleOutput="false"   The default is "true."
TraceMaxSize=”MAXSIZE” Switch trace files when max size is exceeded.
TraceFileDaily="true" Switch trace files at midnight.
TraceMaxFiles="MAXKEPT" Number of filenames to cycle through.
TraceErrors="true"  Trace messages of severity "error."
TraceWarnings="true" Trace messages of severity "warning."
TraceInfo="true" Trace messages of severity "info."
TraceDebug=”true” Trace messages of severity "debug."
TraceData=”true”  Trace data sent and received.

 

Example (Java):

sl.requestScreenEx("", "", "<TraceLog EnableTracing=\"true\" TraceErrors=\"true\" />", 0);

 

 

 

 

  Footer