Changeset ce1a67a in indico


Ignore:
Timestamp:
04/01/11 14:44:26 (2 years ago)
Author:
Jose Benito <jose.benito.gonzalez@…>
Branches:
master, burotel, hello-world-walkthrough, ipv6, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, 051b2622c51afb171a1dedb46a0df4fbb0cbd02e, d9941f8582b36b24821a11ea5ba16fda6a457fb1
Children:
548b3b
Parents:
156221
Message:

[MIN] Adding log for recording manager

Location:
indico/MaKaC/plugins/Collaboration/RecordingManager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indico/MaKaC/plugins/Collaboration/RecordingManager/common.py

    raf3a6d rce1a67a  
    639639            idMachine = MicalaCommunication.getIdMachine(CollaborationTools.getOptionValue("RecordingManager", "micalaDBMachineName")) 
    640640            idTask    = MicalaCommunication.getIdTask(CollaborationTools.getOptionValue("RecordingManager", "micalaDBStatusExportCDS")) 
    641             idLecture = "" # declare idLecture outside of blocks (is this necessary or just a perl thing?) 
    642641            # Look for the current talk in the Lectures table of the micala database 
    643642            # If it is a plain_video talk, look for its IndicoID; 
  • indico/MaKaC/plugins/Collaboration/RecordingManager/micala.py

    r807d02 rce1a67a  
    208208        cleanedLectureSpeakers = cls.cleanSQLData(lectureSpeakers) 
    209209 
    210 #        Logger.get('RecMan').debug("""UPDATE Lectures SET Title = %s, Creator = %s WHERE idLecture = %s""" % 
    211 #                       (cleanedLectureTitle, cleanedLectureSpeakers, idLecture)) 
     210        Logger.get('RecMan').info("""UPDATE Lectures SET Title = %s, Creator = %s WHERE idLecture = %s""" % (cleanedLectureTitle, cleanedLectureSpeakers, idLecture)) 
    212211 
    213212        cursor.execute("""UPDATE Lectures SET Title = %s, Creator = %s WHERE idLecture = %s""", \ 
     
    306305        cursor = connection.cursor(cursorclass=MySQLdb.cursors.DictCursor) 
    307306 
     307        Logger.get('RecMan').info("UPDATE Lectures SET IndicoID=%s, contentType=%s WHERE idLecture=%s" % (IndicoID, "WEBLECTURE", LODBID)) 
     308 
    308309        try: 
    309310            cursor.execute("UPDATE Lectures SET IndicoID=%s, contentType=%s WHERE idLecture=%s", 
Note: See TracChangeset for help on using the changeset viewer.