Enabling the Trace Writer File

Declare Variables/Constants

String FILE_NAME_AND_OR_PATH = "myTraceWriterFile";
Attribute attrConfig = null;

API Calls

To enable the trace writer file in your application, execute the APIs in the specified sequential order only:

>attrConfig = new Attribute();


>attrConfig.set(LicensingConstants.SNTL_ATTR_CONFIG_TRACE_LEVEL, LicensingConstants.SNTL_ATTR_CONFIG_TRACE_ERROR);


NOTE   The ApplicationContext creation and other licensing API should be implemented after the configure API.