Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-08-25 07:03:42 -0400
committerEike Stepper2011-08-25 07:03:42 -0400
commit34a7c0d41008e82a8947413edbf6b0fcf97d0943 (patch)
tree3a566ea123f3441e6e7f719ce789824d75e6de56
parent324f0dec32ce3040103832c7aaef99835d986883 (diff)
downloadcdo-34a7c0d41008e82a8947413edbf6b0fcf97d0943.tar.gz
cdo-34a7c0d41008e82a8947413edbf6b0fcf97d0943.tar.xz
cdo-34a7c0d41008e82a8947413edbf6b0fcf97d0943.zip
enhanced lifecycle logging
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/messages/messages.properties2
2 files changed, 1 insertions, 7 deletions
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
index 849e5ce8b8..3917333db8 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/DBStore.java
@@ -616,8 +616,6 @@ public class DBStore extends Store implements IDBStore, CDOAllRevisionsProvider
InternalRepository repository = getRepository();
setCreationTime(repository.getTimeStamp());
firstTime = true;
-
- OM.LOG.info(MessageFormat.format(Messages.getString("DBStore.8"), repository.getName(), creationTime)); //$NON-NLS-1$
}
protected void reStart()
@@ -657,8 +655,6 @@ public class DBStore extends Store implements IDBStore, CDOAllRevisionsProvider
setLastLocalBranchID(Integer.valueOf(map.get(PROP_LAST_LOCAL_BRANCHID)));
setLastCommitTime(Long.valueOf(map.get(PROP_LAST_COMMITTIME)));
setLastNonLocalCommitTime(Long.valueOf(map.get(PROP_LAST_NONLOCAL_COMMITTIME)));
-
- OM.LOG.info(MessageFormat.format(Messages.getString("DBStore.8b"), repository.getName())); //$NON-NLS-1$
}
else
{
@@ -671,7 +667,7 @@ public class DBStore extends Store implements IDBStore, CDOAllRevisionsProvider
protected void repairAfterCrash()
{
String name = getRepository().getName();
- OM.LOG.info(MessageFormat.format(Messages.getString("DBStore.9"), name)); //$NON-NLS-1$
+ OM.LOG.warn(MessageFormat.format(Messages.getString("DBStore.9"), name)); //$NON-NLS-1$
Connection connection = getConnection();
diff --git a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/messages/messages.properties b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/messages/messages.properties
index 7eb92db600..e6baaa8ee1 100644
--- a/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/messages/messages.properties
+++ b/plugins/org.eclipse.emf.cdo.server.db/src/org/eclipse/emf/cdo/server/internal/db/messages/messages.properties
@@ -13,8 +13,6 @@ DBStore.0=dbConnectionProvider is null
DBStore.1=dbAdapter is null
DBStore.2=mappingStrategy is null
DBStore.3=idHandler is null
-DBStore.8=First start of repository {0}: {1,date} {1,time}
-DBStore.8b=Restart of repository {0}
DBStore.9=Detected crash of repository {0}
DBStore.10=Repaired crash of repository {0}: lastObjectID={1}, nextLocalObjectID={2}, lastBranchID={3}, lastCommitTime={4}, lastNonLocalCommitTime={5}
DBStore.10b=Repaired crash of repository {0}: lastBranchID={1}, lastCommitTime={2}, lastNonLocalCommitTime={3}

Back to the top