Exporting Logs

You can update the logback.xml file to export plug-in logs to a file.

Procedure

  1. Navigate to the TIBCO_HOME/bw/version_number/config/design/logback directory and open the logback.xml file.
    Note: For viewing logs, see TIBCO Cloud Integration Documentation > Getting Started > Managing Apps > Viewing Logs section.
  2. Add the following node to specify the file where the log is exported:
    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
       <file>c:/bw6-marketo.log</file>
          <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36}-%msg%n</pattern>
          </encoder>
    </appender>

    The value of the file element is the absolute path of the file that stores the exported log.

  3. Add the following node to the root node at the bottom of the logback.xml file:
    <root level="DEBUG">
       <appender-ref ref="STDOUT" />
       <appender-ref ref="FILE" />
    </root>
  4. Save the file.