cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing Adapter Logs

Former Member
0 Kudos

Hi,

Is there a way to access the Adapter logs(sender or receiver comms channel) in Java code? If so, please point me to some resources.

Cheers,

Earlence

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member204873
Contributor
0 Kudos

hi,

If you are developing an adapter module it can be done using following command in your code:

Audit.addAuditLogEntry(amk, AuditLogStatus.SUCCESS, "Custom Module called");

Please use article available at:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e674...

Thanks!!

Former Member
0 Kudos

Hi,

I mean that can I access logs of an executed message on the adapter from a Java client. Eg: Like a custom monitor that will read these logs and display them.

Cheers,

Earlence

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

>>>Eg: Like a custom monitor that will read these logs and display them.

this is possible but not with standard API (so not recommended by SAP)

Regards,

Michal Krawczyk

Former Member
0 Kudos

How can this be done?

I am not worried about whether the technique is recommended by SAP or not.

Cheers,

Earlence

Former Member
0 Kudos

Any Ideas???