diff -u output attached for review.

--Kevin
On Monday 18 November 2002 09:32 pm, Kevin Smith wrote:
> Oops. That should be
>
> LogFactory.getLog(SymbolSerializer.class.getPackage().getName());
>
> On Monday 18 November 2002 09:19 pm, Kevin Smith wrote:
> > Hello -
> >
> > I've been evaluating xindice for a bit now and have been pretty impressed
> > with it. I'm hoping to use xindice as a replacement for a rather horrid
> > proprietary XML storage system at work.
> >
> > As I've been reading the code, I've noticed that in most places where
> > getLogger() is called the package of the class has been hardcoded. On
> > other projects, I've preferred to use reflection to obtain the logger, so
> > that any refactoring doesn't create inaccurate log messages. For example,
> > I would do the following:
> >
> > private static Log log =
> >    LogFactory.getLog(SymbolSerializer.getClass().getPackage().getName());
> >
> > instead of
> >
> > private static Log log = LogFactory.getLog("org.apache.xindice.util");
> >
> > I'd be willing to submit patches to fix this, if this is something that
> > people would like to see done. I don't consider myself ready to
> > participate in a real way (yet :), but these kinds of changes help me
> > understand the code.
> >
> > Thanks,
> > Kevin
Only in ./xml-xindice/java/src/org/apache/xindice/client/xmldb: .nbattrs
Only in ./xml-xindice/java/src/org/apache/xindice/client/xmldb/embed: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java ./xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java	Sun Nov 17 08:56:06 2002
+++ ./xml-xindice/java/src/org/apache/xindice/client/xmldb/embed/DatabaseImpl.java	Mon Nov 18 21:57:24 2002
@@ -88,7 +88,7 @@
  */
 public class DatabaseImpl extends CommonConfigurable implements org.xmldb.api.base.Database {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.client.embed");
+   private static Log log = LogFactory.getLog(DatabaseImpl.class.getPackage().getName());
 
     /* prefix used to denote XML:DB URI's that should use this driver */
     static String DRIVER_NAME = "xindice-embed";
Only in ./xml-xindice/java/src/org/apache/xindice/client/xmldb/embed: DatabaseImpl.java~
Only in ./xml-xindice/java/src/org/apache/xindice/core: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/Collection.java ./xml-xindice/java/src/org/apache/xindice/core/Collection.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/Collection.java	Mon Nov  4 06:39:55 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/Collection.java	Mon Nov 18 21:55:01 2002
@@ -108,7 +108,7 @@
    private static final String SYMBOLS = "symbols";
    private static final String CLASSNAME = "xindice-class";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(Collection.class.getPackage().getName());
 
    private static int host_id;
    static {
Only in ./xml-xindice/java/src/org/apache/xindice/core: Collection.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/CollectionManager.java ./xml-xindice/java/src/org/apache/xindice/core/CollectionManager.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/CollectionManager.java	Thu Oct 31 06:59:56 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/CollectionManager.java	Mon Nov 18 22:00:33 2002
@@ -81,7 +81,7 @@
    private static final String COLLECTION = "collection";
    private static final String NAME = "name";
    
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(CollectionManager.class.getPackage().getName());
 
    private static final String[] EmptyStrings = new String[0];
    
Only in ./xml-xindice/java/src/org/apache/xindice/core: CollectionManager.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/Database.java ./xml-xindice/java/src/org/apache/xindice/core/Database.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/Database.java	Mon Nov 18 17:18:04 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/Database.java	Mon Nov 18 21:58:13 2002
@@ -86,7 +86,7 @@
    private static final String COLKEY = "database.xml";
    public static final String NAME = "name";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(Database.class.getPackage().getName());
 
    public static final String PROP_XINDICE_HOME = "xindice.home";
    
Only in ./xml-xindice/java/src/org/apache/xindice/core: Database.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/SystemCollection.java ./xml-xindice/java/src/org/apache/xindice/core/SystemCollection.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/SystemCollection.java	Thu Nov  7 06:46:44 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/SystemCollection.java	Mon Nov 18 21:48:50 2002
@@ -87,7 +87,7 @@
    public static final String GROUPS = "SysGroups";
    public static final String ACCESS = "SysAccess";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(SystemCollection.class.getPackage().getName());
 
    private String classGen = "./classgen";
 
Only in ./xml-xindice/java/src/org/apache/xindice/core: SystemCollection.java~
Only in ./xml-xindice/java/src/org/apache/xindice/core/data: .nbattrs
Only in ./xml-xindice/java/src/org/apache/xindice/core/filer: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/filer/BTree.java ./xml-xindice/java/src/org/apache/xindice/core/filer/BTree.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/filer/BTree.java	Thu Oct 31 06:59:57 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/filer/BTree.java	Mon Nov 18 21:59:37 2002
@@ -108,7 +108,7 @@
    protected static final byte BRANCH = 2;
    protected static final byte STREAM = 3;
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(BTree.class.getPackage().getName());
 
    private Map cache = new WeakHashMap();
 
Only in ./xml-xindice/java/src/org/apache/xindice/core/filer: BTree.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/filer/BTreeFiler.java ./xml-xindice/java/src/org/apache/xindice/core/filer/BTreeFiler.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/filer/BTreeFiler.java	Thu Oct 31 06:59:57 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/filer/BTreeFiler.java	Mon Nov 18 21:45:41 2002
@@ -91,7 +91,7 @@
    private static final String PAGESIZE = "pagesize";
    private static final String MAXKEYSIZE = "maxkeysize";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(BTreeFiler.class.getPackage().getName());
 
    private Configuration config;
    private BTreeFilerHeader fileHeader;
Only in ./xml-xindice/java/src/org/apache/xindice/core/filer: BTreeFiler.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/filer/FSFiler.java ./xml-xindice/java/src/org/apache/xindice/core/filer/FSFiler.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/filer/FSFiler.java	Thu Oct 31 06:59:57 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/filer/FSFiler.java	Mon Nov 18 21:53:37 2002
@@ -91,7 +91,7 @@
    private static final String EXT = "ext";
    private static final String READONLY = "readonly";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(FSFiler.class.getPackage().getName());
 
    private FileCache cache = new FileCache();
    private LockManager locks = new LockManager(16);
Only in ./xml-xindice/java/src/org/apache/xindice/core/filer: FSFiler.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/filer/HashFiler.java ./xml-xindice/java/src/org/apache/xindice/core/filer/HashFiler.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/filer/HashFiler.java	Thu Oct 31 06:59:57 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/filer/HashFiler.java	Mon Nov 18 21:48:22 2002
@@ -99,7 +99,7 @@
    private static final String PAGESIZE = "pagesize";
    private static final String MAXKEYSIZE = "maxkeysize";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(HashFiler.class.getPackage().getName());
 
    private Configuration config;
    private HashFileHeader fileHeader;
Only in ./xml-xindice/java/src/org/apache/xindice/core/filer: HashFiler.java~
Only in ./xml-xindice/java/src/org/apache/xindice/core/indexer: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/indexer/IndexManager.java ./xml-xindice/java/src/org/apache/xindice/core/indexer/IndexManager.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/indexer/IndexManager.java	Mon Nov  4 06:39:55 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/indexer/IndexManager.java	Mon Nov 18 21:47:11 2002
@@ -113,7 +113,7 @@
    private static final int ACTION_UPDATE = 1;
    private static final int ACTION_DELETE = 2;
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(IndexManager.class.getPackage().getName());
 
     private static final Timer indexTimer = new Timer( true );
 
Only in ./xml-xindice/java/src/org/apache/xindice/core/indexer: IndexManager.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/indexer/NameIndexer.java ./xml-xindice/java/src/org/apache/xindice/core/indexer/NameIndexer.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/indexer/NameIndexer.java	Thu Oct 31 07:16:52 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/indexer/NameIndexer.java	Mon Nov 18 22:04:06 2002
@@ -91,7 +91,7 @@
    private static final String PAGESIZE = "pagesize";
    private static final String MAXKEYSIZE = "maxkeysize";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(NameIndexer.class.getPackage().getName());
 
    private Configuration config;
    private Collection collection;
Only in ./xml-xindice/java/src/org/apache/xindice/core/indexer: NameIndexer.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/indexer/ValueIndexer.java ./xml-xindice/java/src/org/apache/xindice/core/indexer/ValueIndexer.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/indexer/ValueIndexer.java	Thu Oct 31 07:16:52 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/indexer/ValueIndexer.java	Mon Nov 18 21:58:36 2002
@@ -118,7 +118,7 @@
    private static final String CHAR_VAL = "char";
    private static final String BOOLEAN_VAL = "boolean";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(ValueIndexer.class.getPackage().getName());
 
    private Configuration config;
    private Collection collection;
Only in ./xml-xindice/java/src/org/apache/xindice/core/indexer: ValueIndexer.java~
Only in ./xml-xindice/java/src/org/apache/xindice/core/query: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/query/QueryEngine.java ./xml-xindice/java/src/org/apache/xindice/core/query/QueryEngine.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/query/QueryEngine.java	Thu Oct 31 06:59:58 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/query/QueryEngine.java	Mon Nov 18 21:51:58 2002
@@ -95,7 +95,7 @@
    private static final String RESOLVER = "resolver";
    private static final String CLASS = "class";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(QueryEngine.class.getPackage().getName());
 
    private Database db;
    private Map resolvers = new HashMap();
Only in ./xml-xindice/java/src/org/apache/xindice/core/query: QueryEngine.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/query/XPathQueryResolver.java ./xml-xindice/java/src/org/apache/xindice/core/query/XPathQueryResolver.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/query/XPathQueryResolver.java	Mon Nov  4 06:39:55 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/query/XPathQueryResolver.java	Mon Nov 18 21:54:35 2002
@@ -128,7 +128,7 @@
 
    public static final String STYLE_XPATH = "XPath";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(XPathQueryResolver.class.getPackage().getName());
 
    // Maps Xalan Comparisons To IndexQuery
    private static final int[] OpMap = { IndexQuery.NEQ,
Only in ./xml-xindice/java/src/org/apache/xindice/core/query: XPathQueryResolver.java~
Only in ./xml-xindice/java/src/org/apache/xindice/core/request: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/request/URIMapper.java ./xml-xindice/java/src/org/apache/xindice/core/request/URIMapper.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/request/URIMapper.java	Thu Oct 31 07:16:52 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/request/URIMapper.java	Mon Nov 18 22:01:11 2002
@@ -97,7 +97,7 @@
 
     public static final String DEFAULT_ENCODING = "UTF-8";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(URIMapper.class.getPackage().getName());
 
    private ObjectPool   pool = null;
    private String       uri = null;
Only in ./xml-xindice/java/src/org/apache/xindice/core/request: URIMapper.java~
Only in ./xml-xindice/java/src/org/apache/xindice/core/xupdate: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/core/xupdate/XUpdateQueryResolver.java ./xml-xindice/java/src/org/apache/xindice/core/xupdate/XUpdateQueryResolver.java
--- ./xml-xindice-official/java/src/org/apache/xindice/core/xupdate/XUpdateQueryResolver.java	Thu Oct 31 06:59:59 2002
+++ ./xml-xindice/java/src/org/apache/xindice/core/xupdate/XUpdateQueryResolver.java	Mon Nov 18 21:49:22 2002
@@ -93,7 +93,7 @@
       System.setProperty (XUPDATE_XPATH_PROP, XUPDATE_XPATH_IMPL);
    }
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.core");
+   private static Log log = LogFactory.getLog(XUpdateQueryResolver.class.getPackage().getName());
 
    public static final String STYLE_XUPDATE = "XUpdate";
 
Only in ./xml-xindice/java/src/org/apache/xindice/core/xupdate: XUpdateQueryResolver.java~
Only in ./xml-xindice/java/src/org/apache/xindice/server: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/server/XindiceServlet.java ./xml-xindice/java/src/org/apache/xindice/server/XindiceServlet.java
--- ./xml-xindice-official/java/src/org/apache/xindice/server/XindiceServlet.java	Sun Nov 17 20:32:47 2002
+++ ./xml-xindice/java/src/org/apache/xindice/server/XindiceServlet.java	Mon Nov 18 21:47:45 2002
@@ -96,7 +96,7 @@
 public class XindiceServlet
       extends HttpServlet {
 
-   protected static Log log = LogFactory.getLog("org.apache.xindice.servlet");
+   protected static Log log = LogFactory.getLog(XindiceServlet.class.getPackage().getName());
 
    protected XmlRpcServer xmlrpc;
    protected Database db;
Only in ./xml-xindice/java/src/org/apache/xindice/server: XindiceServlet.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/tools/XMLTools.java ./xml-xindice/java/src/org/apache/xindice/tools/XMLTools.java
--- ./xml-xindice-official/java/src/org/apache/xindice/tools/XMLTools.java	Sun Nov 17 08:55:57 2002
+++ ./xml-xindice/java/src/org/apache/xindice/tools/XMLTools.java	Mon Nov 18 22:07:24 2002
@@ -107,7 +107,7 @@
     public static final String NAMESPACES = "namespaces";
     public static final String IMPL_CLASS = "implClass";
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.XMLTools");
+   private static Log log = LogFactory.getLog(XMLTools.class.getPackage().getName());
 
    private Hashtable table;
    protected String location = null;
Only in ./xml-xindice/java/src/org/apache/xindice/tools: XMLTools.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/tools/command/Command.java ./xml-xindice/java/src/org/apache/xindice/tools/command/Command.java
--- ./xml-xindice-official/java/src/org/apache/xindice/tools/command/Command.java	Thu Oct 31 07:01:15 2002
+++ ./xml-xindice/java/src/org/apache/xindice/tools/command/Command.java	Mon Nov 18 21:52:51 2002
@@ -82,7 +82,7 @@
    public static final String XINDICE_VAL_INDEXER="org.apache.xindice.core.indexer.ValueIndexer";
    public static final String XINDICE_NAME_INDEXER="org.apache.xindice.core.indexer.NameIndexer";
    
-   protected static Log log = LogFactory.getLog("org.apache.xindice.core");
+   protected static Log log = LogFactory.getLog(Command.class.getPackage().getName());
 
    //public boolean execute(Hashtable table, Database db)
    public abstract boolean execute(Hashtable table) throws Exception;
Only in ./xml-xindice/java/src/org/apache/xindice/tools/command: Command.java~
Only in ./xml-xindice/java/src/org/apache/xindice/util: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/util/Configuration.java ./xml-xindice/java/src/org/apache/xindice/util/Configuration.java
--- ./xml-xindice-official/java/src/org/apache/xindice/util/Configuration.java	Thu Oct 31 07:16:52 2002
+++ ./xml-xindice/java/src/org/apache/xindice/util/Configuration.java	Mon Nov 18 21:54:00 2002
@@ -81,7 +81,7 @@
     // commented out 2002-07-16: not used
     //private static final Map Modified = Collections.synchronizedMap(new HashMap()); // Temporary HACK
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.util");
+   private static Log log = LogFactory.getLog(Configuration.class.getPackage().getName());
 
    private Element config = null;
    private boolean readOnly = true;
Only in ./xml-xindice/java/src/org/apache/xindice/util: Configuration.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/util/SymbolSerializer.java ./xml-xindice/java/src/org/apache/xindice/util/SymbolSerializer.java
--- ./xml-xindice-official/java/src/org/apache/xindice/util/SymbolSerializer.java	Thu Oct 31 07:16:52 2002
+++ ./xml-xindice/java/src/org/apache/xindice/util/SymbolSerializer.java	Mon Nov 18 22:00:11 2002
@@ -85,7 +85,7 @@
    private long lastMod = 0;        // Last time we caught a SymbolTable modification
    private byte[] symBytes = null;  // Stores a byte representation of the SymbolTable
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.util");
+   private static Log log = LogFactory.getLog(SymbolSerializer.class.getPackage().getName());
 
    public SymbolSerializer(SymbolTable syms) {
       this.syms = syms;
Only in ./xml-xindice/java/src/org/apache/xindice/util: SymbolSerializer.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/TextWriter.java ./xml-xindice/java/src/org/apache/xindice/xml/TextWriter.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/TextWriter.java	Thu Oct 31 07:02:22 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/TextWriter.java	Mon Nov 18 21:49:45 2002
@@ -78,7 +78,7 @@
 
 public final class TextWriter {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(TextWriter.class.getPackage().getName());
 
    private Node node = null;
 
Only in ./xml-xindice/java/src/org/apache/xindice/xml: TextWriter.java~
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/CharacterDataImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/dom/CharacterDataImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/CharacterDataImpl.java	Thu Oct 31 07:02:23 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/dom/CharacterDataImpl.java	Mon Nov 18 22:03:43 2002
@@ -74,7 +74,7 @@
 
 public abstract class CharacterDataImpl extends NodeImpl implements CharacterData {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(CharacterDataImpl.class.getPackage().getName());
 
    public CharacterDataImpl() {
    }
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: CharacterDataImpl.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/ContainerNodeImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/dom/ContainerNodeImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/ContainerNodeImpl.java	Mon Nov  4 06:39:55 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/dom/ContainerNodeImpl.java	Mon Nov 18 22:00:54 2002
@@ -80,7 +80,7 @@
 
 public abstract class ContainerNodeImpl extends NodeImpl {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(ContainerNodeImpl.class.getPackage().getName());
 
    protected NodeListImpl childNodes = new NodeListImpl(this);
 
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: ContainerNodeImpl.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/DocumentImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/dom/DocumentImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/DocumentImpl.java	Thu Oct 31 07:16:52 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/dom/DocumentImpl.java	Mon Nov 18 21:58:56 2002
@@ -80,7 +80,7 @@
 
 public final class DocumentImpl extends ContainerNodeImpl implements CompressedDocument, DBDocument, DocumentTraversal {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(DocumentImpl.class.getPackage().getName());
 
    private DocumentType docType = null;
    private String version = null;
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: DocumentImpl.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/ElementImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/dom/ElementImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/ElementImpl.java	Mon Nov  4 06:39:55 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/dom/ElementImpl.java	Mon Nov 18 21:57:49 2002
@@ -78,7 +78,7 @@
 
 public final class ElementImpl extends ContainerNodeImpl implements Element {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(ElementImpl.class.getPackage().getName());
 
    private static final String SRC_NS = XMLNS_PREFIX+":src";
    private static final String SRC_COL = "src:"+NodeSource.SOURCE_COL;
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: ElementImpl.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/EntityReferenceImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/dom/EntityReferenceImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/EntityReferenceImpl.java	Thu Oct 31 07:02:23 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/dom/EntityReferenceImpl.java	Mon Nov 18 21:59:56 2002
@@ -75,7 +75,7 @@
 
 public final class EntityReferenceImpl extends NodeImpl implements EntityReference {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(EntityReferenceImpl.class.getPackage().getName());
 
    private short symbolID = -1;
 
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: EntityReferenceImpl.java~
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/ProcessingInstructionImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/dom/ProcessingInstructionImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/dom/ProcessingInstructionImpl.java	Mon Nov  4 06:39:55 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/dom/ProcessingInstructionImpl.java	Mon Nov 18 21:52:27 2002
@@ -74,7 +74,7 @@
 
 public final class ProcessingInstructionImpl extends NodeImpl implements ProcessingInstruction {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(ProcessingInstructionImpl.class.getPackage().getName());
 
    public ProcessingInstructionImpl() {
    }
Only in ./xml-xindice/java/src/org/apache/xindice/xml/dom: ProcessingInstructionImpl.java~
Only in ./xml-xindice/java/src/org/apache/xindice/xml/jaxp: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/jaxp/DocumentBuilderImpl.java ./xml-xindice/java/src/org/apache/xindice/xml/jaxp/DocumentBuilderImpl.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/jaxp/DocumentBuilderImpl.java	Thu Oct 31 07:02:23 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/jaxp/DocumentBuilderImpl.java	Mon Nov 18 21:46:45 2002
@@ -82,7 +82,7 @@
 
 public class DocumentBuilderImpl extends DocumentBuilder {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(DocumentBuilderImpl.class.getPackage().getName());
 
    private DOMParser parser = null;
    private ErrorHandler errors = null;
@@ -119,7 +119,7 @@
       this.entities = entities;
    }
    
-   public Document parse(InputSource source) throws SAXException, IOException, IllegalArgumentException {
+   public org.w3c.dom.Document parse(InputSource source) throws org.xml.sax.SAXException, java.io.IOException {
       if ( source == null )
          throw new IllegalArgumentException();
       else
Only in ./xml-xindice/java/src/org/apache/xindice/xml/jaxp: DocumentBuilderImpl.java~
Only in ./xml-xindice/java/src/org/apache/xindice/xml/sax: .nbattrs
diff -u -r ./xml-xindice-official/java/src/org/apache/xindice/xml/sax/SAXEventGenerator.java ./xml-xindice/java/src/org/apache/xindice/xml/sax/SAXEventGenerator.java
--- ./xml-xindice-official/java/src/org/apache/xindice/xml/sax/SAXEventGenerator.java	Mon Nov 18 16:16:50 2002
+++ ./xml-xindice/java/src/org/apache/xindice/xml/sax/SAXEventGenerator.java	Mon Nov 18 22:07:45 2002
@@ -94,7 +94,7 @@
 
 public final class SAXEventGenerator implements XMLReader {
 
-   private static Log log = LogFactory.getLog("org.apache.xindice.xml");
+   private static Log log = LogFactory.getLog(SAXEventGenerator.class.getPackage().getName());
 
     /**
      * This is a SAX feature that controls how namespaces are reported in SAX.
Only in ./xml-xindice/java/src/org/apache/xindice/xml/sax: SAXEventGenerator.java~

Reply via email to