Exporting Logs
You can print the log to a file by adding FILE appender in the logback.xml file.
Procedure
- Navigate to the TIBCO_HOME\bw\version_number\config\design\logback directory and open the logback.xml file.
-
Add the following node to specify the file location.
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>c:/bw6-salesforce.log</file> <encoder> <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36}-%msg%n</pattern> </encoder> </appender>
The file tag defines the location to which the log is exported and the value is the absolute path of the file that is detailed to the file name.
-
Add the following node to specify the log level.
<logger name="com.tibco.bw.palette.salesforce.runtime"> <appender-ref ref="FILE"/> <level value="ERROR"/> </logger>
The level tag defines the log level and the value can be TRACE, DEBUG, INFO, WARN and ERROR.
- Save the file.
Copyright © Cloud Software Group, Inc. All rights reserved.