Exporting Logs to a File
Copyright © TIBCO Software Inc. All rights reserved.
To export plug-in logs to a file, you must modify the logback.xml file.
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>c:/bw6-saphanadatabase.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 logs.
<root level="DEBUG"> <appender-ref ref="STDOUT" /> <appender-ref ref="FILE" /> </root>