Use case
When setting up a Log Collector, the output log file is by default encrypted. In some cases it is required to configure the encryption or, it just makes sense to disable encryption for simplicity.
For more details on setting up Log Collectors please check the corresponding section in TIBCO JasperReports® Server Admin Guide
Solution
To disable the encryption set the "allowEncryption" property for the diagnosticDataCipherer bean to "false".
In TIBCO JasperReports® Server v6.2.1 this bean is located in ../WEB-INF/applicationContext-export-import-web.xml file:
<bean id="diagnosticDataCipherer" class="com.jaspersoft.jasperserver.api.common.crypto.DiagnosticDataCipherer" parent="importExportCipher"> <property name="keyInPlainText" value="false"/> <property name="encryptedFileExtension" value="jsEncrypted"/> <property name="allowEncryption" value="true"/> </bean>
IMPORTANT: In TIBCO JasperReports® Server v6.3.0 and newer, this bean has been moved to ../WEB-INF/applicationContext-security.xml file.
For more options on configuring the encryption for the Log Collector output file please check the comment of one of our engineering to the following thread:
http://community.jaspersoft.com/questions/991236/use-log-collector
Ref. case #01438911
Recommended Comments