Skip navigation
Mugunda
Currently Being Moderated

Log flex request using Java filter

Dec 6, 2011 3:57 AM

Tags: #blazeds #request #spring

Hi,

 

I know this is something related to Java Filter, But I am unable to find any solution. So here expecting some support from BlazeDS folks.

 

I have a Spring BlazeDS integration based application. I am using Flex Remote Object to communicate with the Server.  I would like to  capture and log all client request, using Java Filter.

 

All example of filter shows normal HttpRequest filter.   I am unable to find anything on how to capture BlazeDS  request.

 

Any help is appreciated.

 

thanks

 
Replies
  • Currently Being Moderated
    Dec 13, 2011 11:08 AM   in reply to Mugunda

    Why do you want to configure a Java Filter to capture and log client requests?

     

    The better alternatives are:

    1. Configure a ServletLog target as logger (it writes to the servlet log) or write a custom Target implementation. You can set the target filter to Service.Remoting to restrict logging to remoting messages.

    2. Configure Spring BlazeDS message interceptor that you can use to look at the incoming, outgoing messages.

     

    Hope that helps!

     

    Rohit

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points