From 626a66929d5fcb78c99e6fbe281600205efd2152 Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Tue, 18 Nov 2014 14:35:41 +0100 Subject: • Ausgaben an sinnvollen gekürzt bzw. erweitert --- dozentenmodulserver/src/main/java/sql/SQL.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'dozentenmodulserver/src/main/java/sql') diff --git a/dozentenmodulserver/src/main/java/sql/SQL.java b/dozentenmodulserver/src/main/java/sql/SQL.java index dd40c774..4334f854 100644 --- a/dozentenmodulserver/src/main/java/sql/SQL.java +++ b/dozentenmodulserver/src/main/java/sql/SQL.java @@ -114,7 +114,7 @@ public class SQL { return ret; } catch (SQLException e) { - log.info("Failed to DeleteUser."); + log.info("Failed to DeleteUser "+user+"."); e.printStackTrace(); } return -1; @@ -1159,7 +1159,7 @@ public class SQL { //if map is still empty, then the itemID could not be found if(map.isEmpty()==true){ - log.error("ERROR: getItemOwner could not find the item with the ID '"+itemID+"'."); + log.error("Failed to getItemOwner for item '"+itemID+"'."); } else { //now that we have the userID for this item, get the user information and put it in the map @@ -1642,7 +1642,7 @@ public class SQL { prest.executeUpdate(); con.commit(); con.close(); - log.info("Succeeded to updateLectureData."); + //log.info("Succeeded to updateLectureData."); } catch (SQLException e) { @@ -1819,7 +1819,7 @@ public class SQL { con.commit(); con.close(); - log.info("Succesfully updated image path"); + //log.info("Succesfully updated image path"); return 0; } catch (SQLException e) { @@ -2048,7 +2048,7 @@ public class SQL { return id; } catch (SQLException e) { - log.info("Failed to LectureID."); + log.info("Failed to getLectureID."); e.printStackTrace(); } return id; @@ -2390,7 +2390,7 @@ public class SQL { con.commit(); con.close(); - log.info("Written additional image rights."); + //log.info("Written additional image rights."); } catch (SQLException e) { @@ -2483,8 +2483,7 @@ public class SQL { con.commit(); con.close(); - log.info("Written additional lecture rights for '" - + userID + "'."); + //log.info("Written additional lecture rights for '"+ userID + "'."); } catch (SQLException e) { e.printStackTrace(); -- cgit v1.2.3-55-g7522