dviner 2003/08/04 15:20:51
Modified: java/src/org/apache/xindice/client/xmldb/xmlrpc DatabaseImpl.java Log: adding a debug message when the defaults are used. --dviner Revision Changes Path 1.12 +6 -1 xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java Index: DatabaseImpl.java =================================================================== RCS file: /home/cvs/xml-xindice/java/src/org/apache/xindice/client/xmldb/xmlrpc/DatabaseImpl.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- DatabaseImpl.java 4 Aug 2003 21:55:17 -0000 1.11 +++ DatabaseImpl.java 4 Aug 2003 22:20:51 -0000 1.12 @@ -61,6 +61,8 @@ import org.apache.xindice.client.xmldb.CommonConfigurable; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; import org.xmldb.api.base.Collection; import org.xmldb.api.base.Database; import org.xmldb.api.base.ErrorCodes; @@ -89,6 +91,8 @@ /* Property name for the SAX parser xml-rpc will use. */ private static final String PROP_XMLRPC_DRIVER = "xmlrpc-driver"; + private static Log log = LogFactory.getLog("org.apache.xindice.client.xmldb.xmlrpc"); + /** * Create a new DatabaseImpl object. */ @@ -172,6 +176,7 @@ /* Absent host defaults to localhost and standard Xindice HTTP port */ if (hostPort.equals("")) { hostPort = "127.0.0.1:8888"; + log.debug("Using default host and port: '"+hostPort+"'"); } try {