Exporting Logs to a File
Modify the logback.xml file to export plug-in logs to a 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 where the log is exported:
<appender name="FILE" class="ch.qos.logback.core.FileAppender"> <file>c:/bw6-AmazonS3.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 is the absolute path of the file.
-
Add the following node to the
root node at the bottom of the
logback.xml file to enable exporting the logs to a file:
<root level="DEBUG"> <appender-ref ref="STDOUT"/> <appender-ref ref="FILE"/> </root>
- Save the file.
Copyright © Cloud Software Group, Inc. All rights reserved.
