diff options
Diffstat (limited to 'dozentenmodulserver/src/main/java/sql')
| -rw-r--r-- | dozentenmodulserver/src/main/java/sql/SQL.java | 15 |
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
|
