summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Wilson2014-10-29 16:50:50 +0100
committerMichael Wilson2014-10-29 16:50:50 +0100
commitcfec9d6c865334eb82d45be396031a613b3f9c55 (patch)
tree4d4eb97e26c35b55b86824bb6afa6dce7b5098ae
parentAusgaben etwas verkürzt (diff)
downloadtutor-module-cfec9d6c865334eb82d45be396031a613b3f9c55.tar.gz
tutor-module-cfec9d6c865334eb82d45be396031a613b3f9c55.tar.xz
tutor-module-cfec9d6c865334eb82d45be396031a613b3f9c55.zip
--
-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 e1a1c1da..6cb36f41 100644
--- a/dozentenmodulserver/src/main/java/sql/SQL.java
+++ b/dozentenmodulserver/src/main/java/sql/SQL.java
@@ -796,7 +796,7 @@ public class SQL {
license_bol = 1;
}
/*
- log.info(new Date() + " - 'image_name` = '" + newName
+ log.info("'image_name` = '" + newName
+ "\n length of name=" + newName.length());
log.info("now in UpdateImageData()");
@@ -1091,7 +1091,7 @@ public class SQL {
try {
Connection con = getConnection();
Statement stm = con.createStatement();
- //log.info(new Date() + " - Getting PrimaryKey for OS: " + os + " architecture: " + architecture);
+ //log.info("Getting PrimaryKey for OS: " + os + " architecture: " + architecture);
ResultSet rs = stm
.executeQuery("SELECT operatingSystemID FROM bwLehrpool.m_operatingSystem where name like '"
+ os
@@ -1543,11 +1543,11 @@ public class SQL {
+ ");");
con.commit();
con.close();
- log.info(new Date() + " - Written additional image rights.");
+ log.info("Written additional image rights.");
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
- log.info(new Date() + " - Failed to write additional image rights.");
+ log.info("Failed to write additional image rights.");
}
return success;
}// end writeAdditionalImageRights
@@ -1574,7 +1574,7 @@ public class SQL {
con.close();
} catch (SQLException e) {
// TODO Auto-generated catch block
- log.info(new Date() + "Failed to setLectureRights.");
+ log.info("Failed to setLectureRights.");
e.printStackTrace();
}
return 0;
@@ -1598,13 +1598,12 @@ public class SQL {
+ isAdmin + ");");
con.commit();
con.close();
- log.info(new Date() + " - Written additional lecture rights for '"
+ log.info("Written additional lecture rights for '"
+ userID + "'.");
} catch (SQLException e) {
// TODO Auto-generated catch block
e.printStackTrace();
- log.info(new Date()
- + " - Failed to write additional lecture rights.");
+ log.info("Failed to write additional lecture rights.");
}
return success;
}// end writeAdditionalLectureRights