From e07d08c22b09a87e4f00bfd782307ee37efd5d5c Mon Sep 17 00:00:00 2001
From: dugan <dugan@localhost>
Date: Thu, 20 Mar 2008 20:43:08 +0000
Subject: [PATCH] Fix status message not being output, also cleanup DB cache size message.
---
opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java | 2 +-
opends/src/messages/messages/jeb.properties | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/messages/messages/jeb.properties b/opends/src/messages/messages/jeb.properties
index af3690d..179b519 100644
--- a/opends/src/messages/messages/jeb.properties
+++ b/opends/src/messages/messages/jeb.properties
@@ -192,7 +192,7 @@
exceeded the entry limit: %d
NOTICE_JEB_IMPORT_PROGRESS_REPORT_96=Processed %d entries, skipped %d, rejected \
%d, and migrated %d (recent rate %.1f/sec)
-INFO_JEB_IMPORT_CACHE_AND_MEMORY_REPORT_97=Free memory = %d MB, Cache miss \
+NOTICE_JEB_IMPORT_CACHE_AND_MEMORY_REPORT_97=Free memory = %d MB, Cache miss \
rate = %.1f/entry
NOTICE_JEB_VERIFY_CLEAN_FINAL_STATUS_101=Checked %d records and found %d \
error(s) in %d seconds (average rate %.1f/sec)
@@ -346,8 +346,8 @@
NOTICE_JEB_IMPORT_LDIF_BUFFER_TOT_AVAILMEM_184=Available buffer memory %d bytes is \
below the minimum value of %d bytes. Setting available buffer memory to \
the minimum
-NOTICE_JEB_IMPORT_LDIF_MEMORY_INFO_185=Using DB cache bytes: %d available \
- substring buffer bytes: %d
+NOTICE_JEB_IMPORT_LDIF_MEMORY_INFO_185=Setting DB cache to %d bytes and \
+ internal buffer to %d bytes
NOTICE_JEB_IMPORT_LDIF_BUFFER_CONTEXT_AVAILMEM_186=Available buffer memory %d \
bytes is below the minimum value of %d bytes allowed for a single import \
context. Setting context available buffer memory to the minimum
diff --git a/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java b/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java
index 677a379..22ae86a 100644
--- a/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java
+++ b/opends/src/server/org/opends/server/backends/jeb/importLDIF/Importer.java
@@ -1049,7 +1049,7 @@
if (deltaCount > 0) {
cacheMissRate = nCacheMiss/(float)deltaCount;
}
- message = INFO_JEB_IMPORT_CACHE_AND_MEMORY_REPORT.get(
+ message = NOTE_JEB_IMPORT_CACHE_AND_MEMORY_REPORT.get(
freeMemory, cacheMissRate);
logError(message);
long evictPasses = envStats.getNEvictPasses();
--
Gitblit v1.10.0