Log Status Settings
Logs are used to trace and troubleshoot exceptions. You can use the log status settings to set up log levels, specify log file name and the location of the log file.
Before running TIBCO ActiveMatrix BusinessWorks Plug-in for Salesforce.com, you can write the following lines in the
logback.xml file located in the
TIBCO_HOME\bw\6.3\config\design\logback directory to set the log status:
<logger name="com.tibco.bw.palette.salesforce.runtime"> <level value="DEBUG"/> </logger>The level tag defines the log level. The value includes TRACE, DEBUG, INFO, WARN, and ERROR.
After adding the previous lines into the
logback.xml file, the log status of all activities is displayed in the Console view. If you want to display a specified activity log status, choose the following corresponding line:
com.tibco.bw.palette.salesforce.runtime.SalesforceQueryActivity com.tibco.bw.palette.salesforce.runtime.SalesforceCreateActivity com.tibco.bw.palette.salesforce.runtime.SalesforceUpdateActivity com.tibco.bw.palette.salesforce.runtime.SalesforceRetrieveActivity com.tibco.bw.palette.salesforce.runtime.SalesforceUpsertActivity com.tibco.bw.palette.salesforce.runtime.SalesforceDeleteActivity com.tibco.bw.palette.salesforce.runtime.SalesforceGetSessionActivity com.tibco.bw.palette.salesforce.runtime.eventsource.SalesforceOutboundListenerEventSourceFor example, using the following codelines to display the log status of the Salesforce Query All activity:
<logger name="com.tibco.bw.palette.salesforce.runtime.SalesforceQueryActivity"> <level value="DEBUG"/> </logger>
See Managing Plug-in Logs for more details.
Copyright © Cloud Software Group, Inc. All rights reserved.