Skip to content

Commit

Permalink
[CHORE] change aop log level
Browse files Browse the repository at this point in the history
  • Loading branch information
ohksj77 committed Apr 14, 2024
1 parent 1d6f587 commit 75d47ec
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ public void controllerLog(final JoinPoint joinPoint) {

@Before("allService() || allRepository()")
public void serviceAndRepositoryLog(final JoinPoint joinPoint) {
logging(joinPoint, log::info);
logging(joinPoint, log::debug);
}

@Before("allClient() || allProducer() || allConsumer()")
public void clientLog(final JoinPoint joinPoint) {
logging(joinPoint, log::info);
public void externalSystemLog(final JoinPoint joinPoint) {
logging(joinPoint, log::debug);
}

private void logging(final JoinPoint joinPoint, final BiConsumer<String, String> consumer) {
Expand Down

0 comments on commit 75d47ec

Please sign in to comment.