changeset 3503:56f17c6c6288

Add debug output if a database user will be created flys-client/trunk@5255 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Bjoern Ricks <bjoern.ricks@intevation.de>
date Fri, 24 Aug 2012 10:44:55 +0000
parents 3a8884e06aaa
children 1387cdeb8d93
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Aug 23 13:27:42 2012 +0000
+++ b/flys-client/ChangeLog	Fri Aug 24 10:44:55 2012 +0000
@@ -1,3 +1,8 @@
+2012-08-24	Björn Ricks <bjoern.ricks@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/server/LoginServlet.java:
+	  Add debug output if a database user will be created.
+
 2012-08-23	Björn Ricks <bjoern.ricks@intevation.de>
 
 	* src/main/java/de/intevation/flys/client/server/UserServiceImpl.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java	Thu Aug 23 13:27:42 2012 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/server/LoginServlet.java	Fri Aug 24 10:44:55 2012 +0000
@@ -71,6 +71,7 @@
             String url = getServletContext().getInitParameter("server-url");
             UserClient client = new UserClient(url);
             if (!client.userExists(user)) {
+                logger.debug("Creating db user");
                 if (!client.createUser(user)) {
                     this.redirectFailure(resp, "Could not create new user");
                 }

http://dive4elements.wald.intevation.org