3 Replies Latest reply on Jul 19, 2012 3:15 AM by Stephen Coy

    Need suggestion to use Interceptor for logging

    Anshu Gupta Newbie

      Hi,

       

      I am planning to use Interceptors to logging each method call in EJB. I have large no of EJB's say currently more than 100..

      Does it makes sense to use Interceptor to wrtie logs for each methods or use normal Logging API such as log4j?

       

      I want to know the performance benefits or implications for both.

       

      Thanks.