Hi,
I am able to extract AAE logs from the Java stack.
I am facing problems in parsing this data.
Manual observation reveals the main logs, but I get a lot of junk (non displayable characters also).
The field in question is AUDIT_DATA from BC_MSG_AUDIT (PI 7.1)
I am reading the blob data as UTF-8 string via InputStreamReader.
I have added a function to strip the string from invalid XML characters (as i am returning data via a web service).
I am pasting a sample output:
��ur9[Lcom.sap.engine.messaging.impl.util.auditlog.AuditEntry;�U7t�(xpsr6com.sap.engine.messaging.impl.util.auditlog.AuditEntry*Z
msgExists_[params_t[Ljava/lang/String;Lstatus_tALcom/sap/engine/interfaces/messaging/api/auditlog/AuditLogStatus;LtextKey_tLjava/lang/String;L
timestamp_tLjava/sql/Timestamp;xpur[Ljava.lang.String;��V��{GxptDLNGppppsr?com.sap.engine.interfaces.messaging.api.auditlog.AuditLogStatus*IhashCodeLvalueqxp����tStSTATUS_SET_SUCCESSsrjava.sql.Timestamp&��S�eInanosxrjava.util.Datehj�KYtxpw'��xv��squqpppppqtAFW_MARK_FOR_RETRYsq~w'��x
��@squqt Mail_http://sap.com/xi/XI/Systemtpcom.sap.engine.interfaces.messaging.api.exception.RetryControlException: Channel stopped by administrative task.pppsq����tEtRECEIVE_DELIVER_ERRORsqw'��x
��squqtNDLVppppqqsq~w'��x�@
As u can see, most of the main error messages are there, but why all the junk characters??
Cheers,
Earlence