Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.virgo.medic/src/main/java/org/eclipse/virgo/medic/log/EntryExitTrace.aj')
-rw-r--r--org.eclipse.virgo.medic/src/main/java/org/eclipse/virgo/medic/log/EntryExitTrace.aj24
1 files changed, 2 insertions, 22 deletions
diff --git a/org.eclipse.virgo.medic/src/main/java/org/eclipse/virgo/medic/log/EntryExitTrace.aj b/org.eclipse.virgo.medic/src/main/java/org/eclipse/virgo/medic/log/EntryExitTrace.aj
index 1687a5a..a7ae778 100644
--- a/org.eclipse.virgo.medic/src/main/java/org/eclipse/virgo/medic/log/EntryExitTrace.aj
+++ b/org.eclipse.virgo.medic/src/main/java/org/eclipse/virgo/medic/log/EntryExitTrace.aj
@@ -42,29 +42,9 @@ public aspect EntryExitTrace pertypewithin(*) {
pointcut getter() : execution(* get*(..));
- pointcut infoCandidate() : execution(public * *(..)) && !setter() && !getter() && !medic() && !util() && !repository() && !kernelUserRegion() && !logback();
+ pointcut debugCandidate() : execution(public * *(..)) && !setter() && !getter() && !medic() && !util() && !repository() && !kernelUserRegion() && !logback();
- pointcut debugCandidate() : execution(!public !private * *(..)) && !setter() && !getter() && !medic() && !util() && !repository() && !kernelUserRegion() && !logback();
-
- pointcut traceCandidate() : execution(private * *(..)) && !setter() && !getter() && !medic() && !util() && !repository() && !kernelUserRegion() && !logback();
-
- before() : infoCandidate() {
- getLogger(thisJoinPointStaticPart).info("{} {}", ">",
- getSignature(thisJoinPointStaticPart));
- }
-
- after() returning : infoCandidate() {
- getLogger(thisJoinPointStaticPart).info("{} {}", "<",
- getSignature(thisJoinPointStaticPart));
- }
-
- after() throwing(Throwable t) : infoCandidate() {
- Logger logger = getLogger(thisJoinPointStaticPart);
- if (logger.isInfoEnabled()) {
- logger.info(String.format("< %s",
- getSignature(thisJoinPointStaticPart)), t);
- }
- }
+ pointcut traceCandidate() : execution(!public * *(..)) && !setter() && !getter() && !medic() && !util() && !repository() && !kernelUserRegion() && !logback();
before() : debugCandidate() {
getLogger(thisJoinPointStaticPart).debug("{} {}", ">",

Back to the top