summaryrefslogtreecommitdiffstats
path: root/dozentenmodulserver/src/main/java/sql/SQL.java
diff options
context:
space:
mode:
Diffstat (limited to 'dozentenmodulserver/src/main/java/sql/SQL.java')
-rw-r--r--dozentenmodulserver/src/main/java/sql/SQL.java15
1 files changed, 7 insertions, 8 deletions
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();