Hi Team,

We are trying to do some audit logging on the Gemfire server side for every 
client operation, as per our requirement we need to log details like timestamp, 
client name, operation/function, client system IP, payload and response time. 
In order to do this we tried to use the Gemfire Authentication and 
Authorization framework, we have an implementation of AccessControl interface 
and have our log statements in the authorizeOperation method for both pre and 
post calls, but we ran into some issues and we need help to proceed further.

Using this approach we are able to get most of the details, except for response 
time, originally we planned get the response time by getting the difference in 
time between the pre and post-calls to authorizeOperations for the same 
operation, but turns out the post-operation call is not invoked for DESTROY, 
PUT, etc. and based on clarification from the Pivotal support we understand 
that the reason for this is because these operations do not return any 
information back.

We would like to know if there is any other way to log all the required 
information for audit purposes for each client operation/call. Please let me 
know if you need any additional information. Thanks

Regards
Daniel
Citi

Reply via email to