Skip to content

Commit

Permalink
Add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski committed Sep 18, 2024
1 parent 6ef5659 commit 3fb3aa0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public void execute() {
}

void moveAttachments() {
LOGGER.info("CleanAttachmentJob has been started!!!");
AtomicInteger counter = new AtomicInteger(0);
getProjectsWithAttribute(KEEP_SCREENSHOTS).forEach((projectId, duration) -> {
LocalDateTime lessThanDate = LocalDateTime.now(ZoneOffset.UTC).minus(duration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ public void execute() {
}

private void removeLaunches() {
LOGGER.info("CleanLaunchJob has been started!!!");
AtomicInteger counter = new AtomicInteger(0);
getProjectsWithAttribute(KEEP_LAUNCHES).forEach((projectId, duration) -> {
final LocalDateTime lessThanDate = LocalDateTime.now(ZoneOffset.UTC).minus(duration);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public void execute() {
}

void removeLogs() {
LOGGER.info("CleanLogJob has been started!!!");
AtomicInteger counter = new AtomicInteger(0);
// TODO: Need to refactor Logs to keep real it's launchId and combine code with
// CleanLaunch to avoid duplication
Expand Down

0 comments on commit 3fb3aa0

Please sign in to comment.