I want to make it so my audit log captures both the request and the 
response.  I found that requestContent and responseContent say it should do 
this, but on first attempt I got "" back.

After some googling I found that I had to add the following

environment.servlets().addFilter("teeFilter", 
TeeFilter.class).addMappingForUrlPatterns(EnumSet.allOf(DispatcherType.class), 
true, "/*");


This seems to work for Servlets, but for Jersey this doesn't seem to work.

I was wondering how I can get this feature to work with Jersey as well?

Thanks for your time!

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dropwizard-user/93d83dcd-08ab-4503-aeb5-c26bcc5290c3%40googlegroups.com.

Reply via email to