diff options
author | Brian S. O'Neill <bronee@gmail.com> | 2008-05-21 03:01:36 +0000 |
---|---|---|
committer | Brian S. O'Neill <bronee@gmail.com> | 2008-05-21 03:01:36 +0000 |
commit | d4735520c811c81c2874e2d97d6d7204bf0f5ae7 (patch) | |
tree | a09bbd8df81bff911494c717ed315d3e9c46578e /src/main/java | |
parent | 2dc31dcd188d031a6704a613decee88b074aad8f (diff) |
Change open and close log messages.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/sleepycat/BDBRepository.java | 4 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/spi/AbstractRepository.java | 2 |
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() + '"');
}
}
|