directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1602482 - in /directory/mavibot/trunk/mavibot/src: main/java/org/apache/directory/mavibot/btree/PersistedBTree.java main/java/org/apache/directory/mavibot/btree/RecordManager.java test/resources/log4j.properties
Date Fri, 13 Jun 2014 17:26:33 GMT
Author: kayyagari
Date: Fri Jun 13 17:26:33 2014
New Revision: 1602482

URL: http://svn.apache.org/r1602482
Log:
o removed the 'static' qualifier of the header buffer variables
o renamed loggers

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java
    directory/mavibot/trunk/mavibot/src/test/resources/log4j.properties

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java?rev=1602482&r1=1602481&r2=1602482&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedBTree.java
Fri Jun 13 17:26:33 2014
@@ -48,7 +48,7 @@ public class PersistedBTree<K, V> extend
     /** The LoggerFactory used by this class */
     protected static final Logger LOG = LoggerFactory.getLogger( PersistedBTree.class );
 
-    protected static final Logger LOG_PAGES = LoggerFactory.getLogger( "LOG_PAGES" );
+    protected static final Logger LOG_PAGES = LoggerFactory.getLogger( "org.apache.directory.mavibot.LOG_PAGES"
);
 
     /** The cache associated with this B-tree */
     protected Cache cache;

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java?rev=1602482&r1=1602481&r2=1602482&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/RecordManager.java
Fri Jun 13 17:26:33 2014
@@ -71,10 +71,10 @@ public class RecordManager extends Abstr
     protected static final Logger LOG = LoggerFactory.getLogger( RecordManager.class );
 
     /** The LoggerFactory used by this class */
-    protected static final Logger LOG_PAGES = LoggerFactory.getLogger( "LOG_PAGES" );
+    protected static final Logger LOG_PAGES = LoggerFactory.getLogger( "org.apache.directory.mavibot.LOG_PAGES"
);
 
     /** A dedicated logger for the check */
-    protected static final Logger LOG_CHECK = LoggerFactory.getLogger( "LOG_CHECK" );
+    protected static final Logger LOG_CHECK = LoggerFactory.getLogger( "org.apache.directory.mavibot.LOG_CHECK"
);
 
     /** The associated file */
     private File file;
@@ -132,10 +132,10 @@ public class RecordManager extends Abstr
     /* no qualifier */ static int RECORD_MANAGER_HEADER_SIZE = DEFAULT_PAGE_SIZE;
 
     /** A global buffer used to store the RecordManager header */
-    private static ByteBuffer RECORD_MANAGER_HEADER_BUFFER;
+    private ByteBuffer RECORD_MANAGER_HEADER_BUFFER;
 
     /** A static buffer used to store the RecordManager header */
-    private static byte[] RECORD_MANAGER_HEADER_BYTES;
+    private byte[] RECORD_MANAGER_HEADER_BYTES;
 
     /** The length of an Offset, as a negative value */
     private static byte[] LONG_LENGTH = new byte[]

Modified: directory/mavibot/trunk/mavibot/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/test/resources/log4j.properties?rev=1602482&r1=1602481&r2=1602482&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/test/resources/log4j.properties (original)
+++ directory/mavibot/trunk/mavibot/src/test/resources/log4j.properties Fri Jun 13 17:26:33
2014
@@ -30,6 +30,6 @@ log4j.appender.file.MaxBackupIndex=100
 
 #log4j.logger.org=FATAL
 log4j.logger.org.apache.directory.mavibot.btree=ERROR
-log4j.logger.LOG_PAGES=ERROR
-log4j.logger.LOG_CHECK=ERROR
+log4j.logger.org.apache.directory.mavibot.LOG_PAGES=ERROR
+log4j.logger.org.apache.directory.mavibot.LOG_CHECK=ERROR
 log4j.logger.net.sf.ehcache.Cache=ERROR



Mime
View raw message