Skip to content

Commit dcb9d42

Browse files
committed
fix(logs): Remove unnecessary log lines
1 parent 624ee9f commit dcb9d42

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/main/java/io/getunleash/util/UnleashScheduledExecutorImpl.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ public class UnleashScheduledExecutorImpl implements UnleashScheduledExecutor {
1515
private final ExecutorService executorService;
1616

1717
public UnleashScheduledExecutorImpl() {
18-
LOG.info("Creating Scheduled executor");
1918
ThreadFactory threadFactory =
2019
runnable -> {
2120
Thread thread = Executors.defaultThreadFactory().newThread(runnable);
@@ -32,7 +31,6 @@ public UnleashScheduledExecutorImpl() {
3231

3332
public static synchronized UnleashScheduledExecutorImpl getInstance() {
3433
if (INSTANCE == null) {
35-
LOG.info("INSTANCE was null, rebuilding Scheduled Executor");
3634
INSTANCE = new UnleashScheduledExecutorImpl();
3735
}
3836
return INSTANCE;
@@ -58,14 +56,12 @@ public synchronized void shutdown() {
5856
this.scheduledThreadPoolExecutor.shutdown();
5957
this.executorService.shutdown();
6058
INSTANCE = null;
61-
LOG.info("Shutdown - Scheduled Executor");
6259
}
6360

6461
@Override
6562
public synchronized void shutdownNow() {
6663
this.scheduledThreadPoolExecutor.shutdownNow();
6764
this.executorService.shutdownNow();
6865
INSTANCE = null;
69-
LOG.info("Shutdown Now - Scheduled Executor");
7066
}
7167
}

0 commit comments

Comments
 (0)