honeybakliwal Posted April 18, 2016 Share Posted April 18, 2016 http://community.jaspersoft.com/documentation/tibco-jasperreports-server-administration-guide/v62/using-log-collectors-0 With the above url I was able to create the log collector but unfortunately it encrypt and create logs and there is no way to decrypt the logs. So can anyone guide why are we getting an encrypted log file and if the output has to be in encrypted format than Please guide me how can we decrypt that.ThanksHoney Link to comment Share on other sites More sharing options...
ogavavka Posted April 18, 2016 Share Posted April 18, 2016 Documentation is missing some info.....by default server will encrypt logs/resources/datasnapshots because they contain sensitive data.You can disable default encryption by setting "allowEncryption" to false in applicationContext-export-import-web.xml file.if you want just import resources (incuding datasnapshot) for report replay then during import of export.zip file it will be decrypted automaticaly by target server if it have same set of encryption settings as source server.if you want just decrypt logs then you should use buildomatic "js-ant" supported commands:js-ant encrypt-diagnostics-data -DinFile=inputTarget -DencProps=encryptionPropertyFilejs-ant decrypt-diagnostics-data -DinFile=inputTarget -DencProps=encryptionPropertyFilewhere "inputTarget" is path to file or folder for encryption|decryption and "encryptionPropertyFile" is path to file with encryption settings with folowing format:crypto.algo=crypto.transf=crypto.block.size=16crypto.key.bytes= you can pick algorithm, transformation and key from source server in "diagnosticDataCipherer" bean which is located in applicationContext-import-export-web.xml file, if those are not there then look at "importExportCipher" bean which is located in applicationContext-security.xml file Link to comment Share on other sites More sharing options...
anibal.duardoumuq.com.ar Posted December 15, 2018 Share Posted December 15, 2018 For those who need this, take in count that the setting to avoid the encryption was moved :IMPORTANT: In TIBCO JasperReports® Server v6.3.0 and newer, this bean has been moved to ../WEB-INF/applicationContext-security.xml file.Source: https://community.jaspersoft.com/wiki/how-disable-encryption-file-generated-log-collector Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now