Changeset 1593 for WAeUP_SRP/branches/uli/skins/waeup_custom/logged_in.py
- Timestamp:
- 19 Mar 2007, 18:57:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/uli/skins/waeup_custom/logged_in.py
r1489 r1593 21 21 current = DateTime.DateTime() 22 22 import logging 23 logger = logging.getLogger(' Member.Login')23 logger = logging.getLogger('Skins.logged_in') 24 24 25 25 … … 71 71 student_per = getattr(student,'personal',None) 72 72 p_review_state = wftool.getInfoFor(student_per,'review_state',None) 73 logger.info(' "%s", "logged in", "review_state %s"' % (member,s_review_state))73 logger.info('%s logged in, review_state %s' % (member,s_review_state)) 74 74 app_doc = student_app.getContent() 75 75 #from Products.zdb import set_trace;set_trace() 76 76 if load_passport and 'passport' not in app_doc.objectIds(): 77 77 msg = context.waeup_tool.loadStudentFoto(student) 78 logger.info(' "%s", "%s"' % (member,msg))78 logger.info('%s, %s' % (member,msg)) 79 79 if s_review_state in ("student_created","admitted") and\ 80 80 a_review_state == 'created' : … … 134 134 redirect_url = "%s/student_index" % student.absolute_url() 135 135 else: 136 logger.info(' "%s", "logged in"' % (member))136 logger.info('%s logged in' % (member)) 137 137 redirect_url = portal.absolute_url() 138 138 #Anonymous
Note: See TracChangeset for help on using the changeset viewer.