changeset 181:4d9984411b3f

Commented out a debug block because it leaks the db password. flys-backend/trunk@1491 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 17 Mar 2011 10:00:56 +0000 (2011-03-17)
parents 3908bfb2aa43
children 1c0afb01bc93
files flys-backend/ChangeLog flys-backend/src/main/java/de/intevation/flys/utils/DBCPConnectionProvider.java
diffstat 2 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Wed Mar 16 18:23:45 2011 +0000
+++ b/flys-backend/ChangeLog	Thu Mar 17 10:00:56 2011 +0000
@@ -1,3 +1,8 @@
+2011-03-17	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/utils/DBCPConnectionProvider.java:
+	  Commented out a debug block because it leaks the db password.
+
 2011-03-16	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/importer/InfoGewParser.java:
--- a/flys-backend/src/main/java/de/intevation/flys/utils/DBCPConnectionProvider.java	Wed Mar 16 18:23:45 2011 +0000
+++ b/flys-backend/src/main/java/de/intevation/flys/utils/DBCPConnectionProvider.java	Thu Mar 17 10:00:56 2011 +0000
@@ -183,6 +183,7 @@
             }
 
             // Some debug info
+            /* // commented out, because it leaks the password
             if (log.isDebugEnabled()) {
                 log.debug("Creating a DBCP BasicDataSource" +
                           " with the following DBCP factory properties:");
@@ -190,6 +191,7 @@
                 dbcpProperties.list(new PrintWriter(sw, true));
                 log.debug(sw.toString());
             }
+            */
 
             // Let the factory create the pool
             ds = (BasicDataSource)BasicDataSourceFactory

http://dive4elements.wald.intevation.org