From 94502a1fdf41451d43080e1596c7b491743039f2 Mon Sep 17 00:00:00 2001
From: boli <boli@localhost>
Date: Wed, 19 Mar 2008 22:31:09 +0000
Subject: [PATCH] Fixed a issue created in revision 3977 where messages are printed twice when running some tools (import-ldif, verif y-index, etc...)

---
 opends/src/messages/messages/jeb.properties |  106 ++++++++++++++++++++--------------------------------
 1 files changed, 41 insertions(+), 65 deletions(-)

diff --git a/opends/src/messages/messages/jeb.properties b/opends/src/messages/messages/jeb.properties
index 20ac108..af3690d 100644
--- a/opends/src/messages/messages/jeb.properties
+++ b/opends/src/messages/messages/jeb.properties
@@ -69,17 +69,6 @@
 SEVERE_ERR_JEB_ENTRY_DATABASE_CORRUPT_12=The entry database does not contain \
  a valid record for ID %s
 SEVERE_ERR_JEB_DATABASE_EXCEPTION_14=Database exception: %s
-INFO_CONFIG_DESCRIPTION_INDEX_ATTRIBUTE_16=The attribute type name of the \
- attribute index
-INFO_CONFIG_DESCRIPTION_INDEX_TYPE_17=The kind of indexing to be enabled on \
- an attribute index. Permitted values include "equality", "presence", \
- "substring" and "ordering")
-INFO_CONFIG_DESCRIPTION_INDEX_ENTRY_LIMIT_18=A performance tuning parameter \
- for attribute indexes. The entry limit of an attribute index, where a value \
- of 0 means there is no threshold. When the number of entries matching an \
- index value reaches the limit, the value is no longer maintained in the index
-INFO_CONFIG_DESCRIPTION_INDEX_SUBSTRING_LENGTH_25=The length of substrings in \
- a substring index
 SEVERE_ERR_CONFIG_INDEX_TYPE_NEEDS_MATCHING_RULE_26=The attribute '%s' cannot \
  have indexing of type '%s' because it does not have a corresponding matching \
  rule
@@ -182,34 +171,30 @@
  restore the files from backup %s: %s
 SEVERE_ERR_JEB_BACKUP_MISSING_BACKUPID_79=The information for backup %s could \
  not be found in the backup directory %s
-INFO_JEB_BACKUP_FILE_UNCHANGED_82=Not changed: %s
-INFO_JEB_BACKUP_CLEANER_ACTIVITY_83=Including %s additional log file(s) due \
+NOTICE_JEB_BACKUP_FILE_UNCHANGED_82=Not changed: %s
+NOTICE_JEB_BACKUP_CLEANER_ACTIVITY_83=Including %s additional log file(s) due \
  to cleaner activity
-INFO_JEB_BACKUP_VERIFY_FILE_84=Verifying: %s
-INFO_JEB_BACKUP_RESTORED_FILE_85=Restored: %s (size %d)
-INFO_JEB_BACKUP_ARCHIVED_FILE_86=Archived: %s
-INFO_JEB_EXPORT_FINAL_STATUS_87=Exported %d entries and skipped %d in %d \
+NOTICE_JEB_BACKUP_VERIFY_FILE_84=Verifying: %s
+NOTICE_JEB_BACKUP_RESTORED_FILE_85=Restored: %s (size %d)
+NOTICE_JEB_BACKUP_ARCHIVED_FILE_86=Archived: %s
+NOTICE_JEB_EXPORT_FINAL_STATUS_87=Exported %d entries and skipped %d in %d \
  seconds (average rate %.1f/sec)
-INFO_JEB_EXPORT_PROGRESS_REPORT_88=Exported %d records and skipped %d (recent \
+NOTICE_JEB_EXPORT_PROGRESS_REPORT_88=Exported %d records and skipped %d (recent \
  rate %.1f/sec)
 INFO_JEB_IMPORT_THREAD_COUNT_89=Import Thread Count: %d threads
 INFO_JEB_IMPORT_BUFFER_SIZE_90=Buffer size per thread = %,d
 INFO_JEB_IMPORT_LDIF_PROCESSING_TIME_91=LDIF processing took %d seconds
 INFO_JEB_IMPORT_INDEX_PROCESSING_TIME_92=Index processing took %d seconds
-INFO_JEB_IMPORT_CLOSING_DATABASE_93=Flushing data to disk
-INFO_JEB_IMPORT_FINAL_STATUS_94=Processed %d entries, imported %d, skipped \
+NOTICE_JEB_IMPORT_CLOSING_DATABASE_93=Flushing data to disk
+NOTICE_JEB_IMPORT_FINAL_STATUS_94=Processed %d entries, imported %d, skipped \
  %d, rejected %d and migrated %d in %d seconds (average rate %.1f/sec)
-INFO_JEB_IMPORT_ENTRY_LIMIT_EXCEEDED_COUNT_95=Number of index values that \
+NOTICE_JEB_IMPORT_ENTRY_LIMIT_EXCEEDED_COUNT_95=Number of index values that \
  exceeded the entry limit: %d
-INFO_JEB_IMPORT_PROGRESS_REPORT_96=Processed %d entries, skipped %d, rejected \
+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 \
  rate = %.1f/entry
-INFO_JEB_INDEX_MERGE_NO_DATA_98=There is no data to be loaded into the %s \
- index
-INFO_JEB_INDEX_MERGE_START_99=Starting %d-way merge to load the %s index
-INFO_JEB_INDEX_MERGE_COMPLETE_100=The %s index has been loaded
-INFO_JEB_VERIFY_CLEAN_FINAL_STATUS_101=Checked %d records and found %d \
+NOTICE_JEB_VERIFY_CLEAN_FINAL_STATUS_101=Checked %d records and found %d \
  error(s) in %d seconds (average rate %.1f/sec)
 INFO_JEB_VERIFY_MULTIPLE_REFERENCE_COUNT_102=Number of records referencing \
  more than one entry: %d
@@ -219,45 +204,36 @@
  referenced is %.2f/record
 INFO_JEB_VERIFY_MAX_REFERENCE_COUNT_105=Maximum number of entries referenced \
  by any record is %d
-INFO_JEB_VERIFY_FINAL_STATUS_106=Checked %d entries and found %d error(s) in \
+NOTICE_JEB_VERIFY_FINAL_STATUS_106=Checked %d entries and found %d error(s) in \
  %d seconds (average rate %.1f/sec)
 INFO_JEB_VERIFY_ENTRY_LIMIT_STATS_HEADER_107=Statistics for records that have \
  exceeded the entry limit:
-INFO_JEB_VERIFY_ENTRY_LIMIT_STATS_ROW_108=  File %s has %d such record(s) \
+INFO_JEB_VERIFY_ENTRY_LIMIT_STATS_ROW_108=File %s has %d such record(s) \
  min=%d max=%d median=%d
-INFO_JEB_VERIFY_PROGRESS_REPORT_109=Processed %d out of %d records and found \
+NOTICE_JEB_VERIFY_PROGRESS_REPORT_109=Processed %d out of %d records and found \
  %d error(s) (recent rate %.1f/sec)
 INFO_JEB_VERIFY_CACHE_AND_MEMORY_REPORT_110=Free memory = %d MB, Cache miss \
  rate = %.1f/record
 MILD_ERR_JEB_INVALID_PAGED_RESULTS_COOKIE_111=The following paged results \
  control cookie value was not recognized: %s
-INFO_JEB_REFERRAL_RESULT_MESSAGE_112=A referral entry %s indicates that the \
+NOTICE_JEB_REFERRAL_RESULT_MESSAGE_112=A referral entry %s indicates that the \
  operation must be processed at a different server
 INFO_JEB_IMPORT_ENVIRONMENT_CONFIG_119=Database environment properties: %s
-INFO_JEB_IMPORT_BEGINNING_INTERMEDIATE_MERGE_121=Ending import pass %d \
- because the pass size has been reached.  Beginning the intermediate index \
- merge
-INFO_JEB_IMPORT_BEGINNING_FINAL_MERGE_122=Beginning final index merge
-INFO_JEB_IMPORT_RESUMING_LDIF_PROCESSING_123=Intermediate index merge \
- processing complete (index processing time %d seconds).  Resuming LDIF \
- processing
-INFO_JEB_IMPORT_FINAL_MERGE_COMPLETED_124=Final index merge complete \
- (processing time %d seconds)
 SEVERE_ERR_JEB_INCOMPATIBLE_ENTRY_VERSION_126=Entry record with ID %s is not \
  compatible with this version of the backend database. Entry version: %x
-INFO_JEB_LOOKTHROUGH_LIMIT_EXCEEDED_127=This search operation has checked the \
+NOTICE_JEB_LOOKTHROUGH_LIMIT_EXCEEDED_127=This search operation has checked the \
  maximum of %d entries for matches
 SEVERE_WARN_JEB_SET_PERMISSIONS_FAILED_128=An error occurred while setting \
  file permissions for the backend database directory %s: %s
 SEVERE_WARN_JEB_GET_ENTRY_COUNT_FAILED_129=Unable to determine the total \
  number of entries in the container: %s
-INFO_JEB_CONFIG_ATTR_REQUIRES_RESTART_130=The change to the %s attribute will \
+NOTICE_JEB_CONFIG_ATTR_REQUIRES_RESTART_130=The change to the %s attribute will \
  not take effect until the backend is restarted
-INFO_JEB_REBUILD_PROGRESS_REPORT_131=%.1f%% Completed. Processed %d/%d \
+NOTICE_JEB_REBUILD_PROGRESS_REPORT_131=%.1f%% Completed. Processed %d/%d \
  records. (recent rate %.1f/sec)
-INFO_JEB_REBUILD_CACHE_AND_MEMORY_REPORT_132=Free memory = %d MB, Cache miss \
+NOTICE_JEB_REBUILD_CACHE_AND_MEMORY_REPORT_132=Free memory = %d MB, Cache miss \
  rate = %.1f/record
-INFO_JEB_REBUILD_FINAL_STATUS_133=Rebuild complete. Processed %d records in \
+NOTICE_JEB_REBUILD_FINAL_STATUS_133=Rebuild complete. Processed %d records in \
  %d seconds (average rate %.1f/sec)
 SEVERE_ERR_JEB_REBUILD_INDEX_FAILED_134=An error occurred while rebuilding \
  index %s: %s
@@ -265,7 +241,7 @@
  inserting entry into the %s database/index: %s
 SEVERE_ERR_JEB_REBUILD_INDEX_CONFLICT_136=Another rebuild of index %s is \
  already in progress
-INFO_JEB_REBUILD_START_137=Rebuild of index(es) %s started with %d total \
+NOTICE_JEB_REBUILD_START_137=Rebuild of index(es) %s started with %d total \
  records to process
 SEVERE_ERR_JEB_REBUILD_BACKEND_ONLINE_138=Rebuilding system index(es) must be \
  done with the backend containing the base DN disabled
@@ -312,9 +288,9 @@
  '%s' provided for configuration entry '%s' is invalid.  The value must be one \
  of OFF, SEVERE, WARNING, INFO, CONFIG, FINE, FINER, FINEST, or ALL.  Note \
  that these values are case sensitive
-INFO_JEB_IMPORT_MIGRATION_START_157=Migrating %s entries for base DN %s
-INFO_JEB_IMPORT_LDIF_START_158=Processing LDIF
-INFO_JEB_IMPORT_LDIF_END_159=End of LDIF reached
+NOTICE_JEB_IMPORT_MIGRATION_START_157=Migrating %s entries for base DN %s
+NOTICE_JEB_IMPORT_LDIF_START_158=Processing LDIF
+NOTICE_JEB_IMPORT_LDIF_END_159=End of LDIF reached
 SEVERE_ERR_JEB_CONFIG_VLV_INDEX_UNDEFINED_ATTR_160=Sort attribute %s for VLV \
  index %s is not defined in the server schema
 SEVERE_ERR_JEB_CONFIG_VLV_INDEX_BAD_FILTER_161=An error occurred while parsing \
@@ -347,39 +323,39 @@
 SEVERE_ERR_JEB_COMPSCHEMA_UNRECOGNIZED_AD_TOKEN_171=Unable to decode the \
  provided attribute because it used an undefined attribute description token \
  %s
-INFO_JEB_CONFIG_DB_DIR_REQUIRES_RESTART_172=The change to the DB directory \
+NOTICE_JEB_CONFIG_DB_DIR_REQUIRES_RESTART_172=The change to the DB directory \
   will not take effect until the backend is restarted. The DB files from the \
   previous directory %s must be moved to the new directory %s after shutting \
   down the backend to retain the existing data
-INFO_JEB_IMPORT_STARTING_173=%s starting import (build %s, R%d)
+NOTICE_JEB_IMPORT_STARTING_173=%s starting import (build %s, R%d)
 SEVERE_ERR_JEB_DIRECTORY_DOES_NOT_EXIST_174=The backend database directory \
  '%s' does not exist
 SEVERE_ERR_JEB_IMPORT_LDIF_ABORT_175=The import was aborted because an \
   uncaught exception was thrown during processing
-INFO_JEB_IMPORT_LDIF_ROOTCONTAINER_CLOSE_176=Import LDIF environment close \
+NOTICE_JEB_IMPORT_LDIF_ROOTCONTAINER_CLOSE_176=Import LDIF environment close \
   took %d seconds
-INFO_JEB_IMPORT_LDIF_BUFFER_FLUSH_177=Begin substring buffer flush of %d \
+NOTICE_JEB_IMPORT_LDIF_BUFFER_FLUSH_177=Begin substring buffer flush of %d \
   elements. Buffer total access: %d  buffer hits: %d
-INFO_JEB_IMPORT_LDIF_BUFFER_FLUSH_COMPLETED_178=Substring buffer flush \
+NOTICE_JEB_IMPORT_LDIF_BUFFER_FLUSH_COMPLETED_178=Substring buffer flush \
   completed in %d seconds
-INFO_JEB_IMPORT_LDIF_FINAL_CLEAN_179=Begin final cleaner run
-INFO_JEB_IMPORT_LDIF_CLEAN_180=Begin cleaner run
-INFO_JEB_IMPORT_LDIF_CLEANER_RUN_DONE_181=Cleaner run took %d seconds %d logs \
+NOTICE_JEB_IMPORT_LDIF_FINAL_CLEAN_179=Begin final cleaner run
+NOTICE_JEB_IMPORT_LDIF_CLEAN_180=Begin cleaner run
+NOTICE_JEB_IMPORT_LDIF_CLEANER_RUN_DONE_181=Cleaner run took %d seconds %d logs \
   removed
-INFO_JEB_IMPORT_LDIF_CLEANER_REMOVE_LOGS_182=Cleaner will remove %d logs
-INFO_JEB_IMPORT_LDIF_BUFFER_TOT_AVAILMEM_184=Available buffer memory %d bytes is \
+NOTICE_JEB_IMPORT_LDIF_CLEANER_REMOVE_LOGS_182=Cleaner will remove %d logs
+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
-INFO_JEB_IMPORT_LDIF_MEMORY_INFO_185=Using DB cache bytes: %d available \
+NOTICE_JEB_IMPORT_LDIF_MEMORY_INFO_185=Using DB cache bytes: %d available \
   substring buffer bytes: %d
-INFO_JEB_IMPORT_LDIF_BUFFER_CONTEXT_AVAILMEM_186=Available buffer memory %d \
+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
-INFO_JEB_IMPORT_LDIF_BUFFER_CHECKPOINTS_187=Checkpoints performed: %d
-INFO_JEB_IMPORT_LDIF_CLEANER_STATS_188=Cleaner runs: %d files deleted: %d \
+NOTICE_JEB_IMPORT_LDIF_BUFFER_CHECKPOINTS_187=Checkpoints performed: %d
+NOTICE_JEB_IMPORT_LDIF_CLEANER_STATS_188=Cleaner runs: %d files deleted: %d \
   entries read: %d IN nodes cleaned: %d
-INFO_JEB_IMPORT_LDIF_EVICTION_DETECTED_STATS_189=Eviction in progress. Passes: \
+NOTICE_JEB_IMPORT_LDIF_EVICTION_DETECTED_STATS_189=Eviction in progress. Passes: \
   %d nodes evicted: %d BIN nodes stripped: %d
-INFO_JEB_IMPORT_LDIF_EVICTION_DETECTED_190=Eviction detected after importing \
+NOTICE_JEB_IMPORT_LDIF_EVICTION_DETECTED_190=Eviction detected after importing \
   %d entries
 

--
Gitblit v1.10.0