Open topic with navigation

TIBCO ActiveMatrix BusinessWorks™ Plug-in for AMQP 6.5.1

# Exporting Logs to a File

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: After deploying an application in TIBCO® Enterprise Administrator, navigate to the TIBCO_HOME/bw/version_number/domains/domain_name/appnodes/space_name/node_name directory to find the logback.xml file.
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-amqp.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.

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO ActiveMatrix BusinessWorks™ Plug-in for AMQP

Copyright © 2015-2025. Cloud Software Group, Inc. All Rights Reserved.