Hi,
    We are using AspectJ to log the trace of our API execution.
    When enabling Aspects we receive duplicate entries of messages.
    We are not using any framework or annotations.

  Herewith I have given the sample Pointcut we used to trace method
exceution :

  * **pointcut test(): *
*        execution(* com.test.mail..*.*(..));*
*
*
*
   pointcut test1():
        execution(* com.test.mail.*.*(..));


pointcut test1():
*
*        execution(* com.test.mail..*(..));*

We used the three versions but we receive only duplicate entries.

*Sample Log Message:*
        *I**nvoking method   test.....*
*        Invoking method   test..... *
*        Returning from method test....*
*        Returning from method test....*
*
*
Please let me know how to resolve this issue!!

Regards,
Jeevitha




* *
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to