summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/repo/sleepycat
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-05-21 03:01:36 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-05-21 03:01:36 +0000
commitd4735520c811c81c2874e2d97d6d7204bf0f5ae7 (patch)
treea09bbd8df81bff911494c717ed315d3e9c46578e /src/main/java/com/amazon/carbonado/repo/sleepycat
parent2dc31dcd188d031a6704a613decee88b074aad8f (diff)
Change open and close log messages.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/sleepycat')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java4
1 files changed, 3 insertions, 1 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);