Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Duplicate entries in logging in AspectJ

What does the advise(s) look like?

-Romain.

Le 9 août 2012 à 11:18, Jeevitha Muthusamy a écrit :

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:
        Invoking 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@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top