Exporting Logs to a File
You can export the plug-in logs to a file by modifying the logback.xml file.
Procedure
- Navigate to the TIBCO_HOME\bw\versionnumber\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-mdm.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 the
root node at the bottom of the
logback.xml file to enable exporting logs to a file.
<appender-ref ref="FILE" />
For example:<root level="DEBUG"> <appender-ref ref="STDOUT" /> <appender-ref ref="FILE" /> </root>
- Save the file.
Copyright © TIBCO Software Inc. All rights reserved.