users@jersey.java.net

[Jersey] logging all web service calls

From: phil swenson <phil.swenson_at_gmail.com>
Date: Fri, 31 Jan 2014 09:55:25 -0700

I want to implement logging for all my web service calls....

It seems redundant (not DRY) to put in a bunch of code for every web
service call like:

LogUtil.debug("service X called, params =
var1:value1,var2:value2,var3:value3");

Has anyone implemented this type of logging for jersey? a @LogMethodCall
annotation or something....

This may not be a jersey question I guess, and Java may not allow such
things.

thanks for any thoughts....