summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java4
-rw-r--r--src/main/java/com/amazon/carbonado/spi/AbstractRepository.java2
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java
index eeb8e9a..b2b1271 100644
--- a/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java
+++ b/src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java
@@ -158,6 +158,8 @@ abstract class BDBRepository<Txn> extends AbstractRepository<Txn>
mEnvHome = builder.getEnvironmentHomeFile();
mSingleFileName = builder.getSingleFileName();
mFileNameMap = builder.getFileNameMap();
+
+ getLog().info("Opening repository \"" + getName() + '"');
}
@Override
@@ -462,7 +464,7 @@ abstract class BDBRepository<Txn> extends AbstractRepository<Txn>
* milliseconds, or zero if never.
*/
void start(long checkpointInterval, long deadlockDetectorInterval) {
- getLog().info("Opening repository \"" + getName() + '"');
+ getLog().info("Opened repository \"" + getName() + '"');
if (mRunCheckpointer && checkpointInterval > 0) {
mCheckpointer = new Checkpointer(this, checkpointInterval);
diff --git a/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java b/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java
index 6bf09bc..563ae9e 100644
--- a/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java
+++ b/src/main/java/com/amazon/carbonado/spi/AbstractRepository.java
@@ -315,7 +315,7 @@ public abstract class AbstractRepository<Txn>
} finally {
repository.mHasShutdown = true;
mRepository.clear();
- repository.info("Finished closing repository \"" + repository.getName() + '"');
+ repository.info("Closed repository \"" + repository.getName() + '"');
}
}