Skip to content

Commit

Permalink
Log lifecycle handlers start and end with INFO level
Browse files Browse the repository at this point in the history
  • Loading branch information
enricovianello committed Dec 19, 2024
1 parent 59725c7 commit 8f068aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ private void handleExpiredAccount(IamAccount expiredAccount) {

public void handleExpiredAccounts() {

LOG.debug("Expired accounts handler ... [START]");
LOG.info("Expired accounts handler ... [START]");

accountsScheduledForRemoval.clear();

Expand Down Expand Up @@ -221,7 +221,7 @@ public void handleExpiredAccounts() {
removeAccount(a);
}

LOG.debug("Expired accounts handler ... [END]");
LOG.info("Expired accounts handler ... [END]");

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private void expireIfActiveAndMember(IamAccount a) {
@Override
public void run() {

LOG.debug("CERN HR Lyfecycle handler ... [START]");
LOG.info("CERN HR Lyfecycle handler ... [START]");

Pageable pageRequest = PageRequest.of(0, cernProperties.getTask().getPageSize());

Expand All @@ -173,7 +173,7 @@ public void run() {
pageRequest = accountsPage.nextPageable();
}

LOG.debug("CERN HR Lyfecycle handler ... [END]");
LOG.info("CERN HR Lyfecycle handler ... [END]");
}

@Override
Expand Down

0 comments on commit 8f068aa

Please sign in to comment.