Search Results

Exporting Logs

You can print the log to a file by adding FILE appender in the logback.xml file.


  1. Navigate to the TIBCO_HOME\bw\6.3\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 location.
    <appender name="FILE" class="ch.qos.logback.core.FileAppender">
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36}-%msg%n</pattern>

    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.

  3. Add the following node to specify the log level.
    <logger name="">
       <appender-ref ref="FILE"/>
       <level value="ERROR"/>

    The level tag defines the log level and the value can be TRACE, DEBUG, INFO, WARN and ERROR.

  4. Save the file.