Index: src/org/apache/cocoon/generation/XMLDBGenerator.java
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/generation/XMLDBGenerator.java,v
retrieving revision 1.4
diff -u -r1.4 XMLDBGenerator.java
--- src/org/apache/cocoon/generation/XMLDBGenerator.java	2001/10/11 07:28:21	1.4
+++ src/org/apache/cocoon/generation/XMLDBGenerator.java	2001/10/29 23:00:36
@@ -96,7 +96,7 @@
         this.driver = conf.getChild("driver").getValue();
         this.base = conf.getChild("base").getValue();
       } else {
-        throw new ConfigurationException("XMLDB configuration not found");
+        throw new ConfigurationException("XML:DB configuration not found");
       }
     }
 
@@ -115,14 +115,14 @@
 
       } catch (XMLDBException xde) {
 
-        this.getLogger().warn("Unable to connect to the XML:DB database");
-        throw new ProcessingException("Unable to connect to the XML DB" 
+        this.getLogger().error("Unable to connect to the XML:DB database");
+        throw new ProcessingException("Unable to connect to the XMLDB database" 
           + xde.getMessage());
 
       } catch (Exception e) {
 
-        this.getLogger().warn("There was a problem setting up the connection");
-        this.getLogger().warn("Make sure that your driver is available");
+        this.getLogger().error("There was a problem setting up the connection");
+        this.getLogger().error("Make sure that your driver is available");
         throw new ProcessingException("Problem setting up the connection: " 
           + e.getMessage());
 
@@ -193,10 +193,11 @@
 
       } catch (NullPointerException npe) {
 
-          this.getLogger().debug("The XML:DB driver raised an exception");
-          this.getLogger().debug("probably the document was not found");
+          this.getLogger().error("The XML:DB driver raised an exception");
+          this.getLogger().error("probably the document was not found");
+
           throw new ProcessingException("Null pointer exception while " + 
-          "retrieving document : " + npe.getMessage());
+            "retrieving document : " + npe.getMessage());
 
       } 
     }
Index: src/org/apache/cocoon/generation/XMLDBCollectionGenerator.java
===================================================================
RCS file: /home/cvspublic/xml-cocoon2/src/org/apache/cocoon/generation/XMLDBCollectionGenerator.java,v
retrieving revision 1.4
diff -u -r1.4 XMLDBCollectionGenerator.java
--- src/org/apache/cocoon/generation/XMLDBCollectionGenerator.java	2001/10/11 07:28:21	1.4
+++ src/org/apache/cocoon/generation/XMLDBCollectionGenerator.java	2001/10/29 23:00:37
@@ -124,14 +124,14 @@
 
       } catch (XMLDBException xde) {
 
-        this.getLogger().warn("Unable to connect to the XML:DB database");
+        this.getLogger().error("Unable to connect to the XML:DB database");
         throw new ProcessingException("Unable to connect to the XML DB" 
           + xde.getMessage());
 
       } catch (Exception e) {
 
-        this.getLogger().warn("There was a problem setting up the connection");
-        this.getLogger().warn("Make sure that your driver is available");
+        this.getLogger().error("There was a problem setting up the connection");
+        this.getLogger().error("Make sure that your driver is available");
         throw new ProcessingException("Problem setting up the connection: " 
           + e.getMessage());
 
@@ -201,8 +201,8 @@
 
       } catch (NullPointerException npe) {
 
-          this.getLogger().debug("The XML:DB driver raised an exception");
-          this.getLogger().debug("probably the document was not found");
+          this.getLogger().error("The XML:DB driver raised an exception");
+          this.getLogger().error("probably the document was not found");
           throw new ProcessingException("Null pointer exception while " + 
           "retrieving document : " + npe.getMessage());
 

