Skip to main content

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

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




 

Back to the top