Skip to content

Commit f4c14de

Browse files
committed
remove some logs
1 parent b5f9384 commit f4c14de

File tree

1 file changed

+0
-4
lines changed
  • aws-datastore/src/main/java/com/amplifyframework/datastore/syncengine

1 file changed

+0
-4
lines changed

aws-datastore/src/main/java/com/amplifyframework/datastore/syncengine/Orchestrator.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,6 @@ public synchronized Completable stop() {
189189
}
190190

191191
private Completable performSynchronized(String methodName, Action action) {
192-
LOG.debug("[" + methodName + "] Attempting to acquire lock (permits: " + startStopSemaphore.availablePermits() + ")");
193192
try {
194193
if (!startStopSemaphore.tryAcquire(LOCAL_OP_TIMEOUT_SECONDS, TimeUnit.SECONDS)) {
195194
return Completable.error(new DataStoreException("Timed out acquiring orchestrator lock.",
@@ -199,13 +198,10 @@ private Completable performSynchronized(String methodName, Action action) {
199198
return Completable.error(new DataStoreException("Interrupted while acquiring orchestrator lock.",
200199
"Retry your request."));
201200
}
202-
LOG.info("[" + methodName + "] Orchestrator lock acquired (permits: " + startStopSemaphore.availablePermits() + ")");
203201
return Completable.fromAction(action).doOnError((e) -> {
204202
startStopSemaphore.release();
205-
LOG.info("[" + methodName + "] Orchestrator lock released (permits: " + startStopSemaphore.availablePermits() + ")");
206203
}).andThen(Completable.fromAction(() -> {
207204
startStopSemaphore.release();
208-
LOG.info("[" + methodName + "] Orchestrator lock released (permits: " + startStopSemaphore.availablePermits() + ")");
209205
}));
210206
}
211207

0 commit comments

Comments
 (0)