Skip to content

Commit

Permalink
Merge pull request #48 from abes-esr/CDE-277-performances-fichiers-aj…
Browse files Browse the repository at this point in the history
…out-donnees-log

correction parametrage executionTimeAspect
  • Loading branch information
EryneKL authored Nov 13, 2023
2 parents b871518 + b4f6776 commit bc9cd4d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public Object measureExecutionTime(ProceedingJoinPoint joinPoint) throws Throwab
long endTime = System.currentTimeMillis();
double executionTime = (endTime - startTime) / 1000;

log.debug("Thread: ", Thread.currentThread().getName());
log.debug("Methode: ", Thread.currentThread().getStackTrace()[1].getMethodName());
log.debug("Thread: " + Thread.currentThread().getName());
log.debug("Methode: " + Thread.currentThread().getStackTrace()[1].getMethodName());
log.debug("Temps d'exécution : " + executionTime + " secondes");
return result;
}
Expand Down

0 comments on commit bc9cd4d

Please sign in to comment.