Ignore:
Timestamp:
19 Mar 2007, 21:45:44 (18 years ago)
Author:
joachim
Message:

merged changes from trunk to joachim-event-branch

Location:
WAeUP_SRP/branches/joachim-event-branch/skins/waeup_custom
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/branches/joachim-event-branch/skins/waeup_custom/logged_in.py

    r1489 r1596  
    2121current = DateTime.DateTime()
    2222import logging
    23 logger = logging.getLogger('Member.Login')
     23logger = logging.getLogger('Skins.logged_in')
    2424
    2525
     
    7171        student_per = getattr(student,'personal',None)
    7272        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))
    7474        app_doc = student_app.getContent()
    7575        #from Products.zdb import set_trace;set_trace()
    7676        if load_passport and 'passport' not in app_doc.objectIds():
    7777            msg = context.waeup_tool.loadStudentFoto(student)
    78             logger.info('"%s", "%s"' % (member,msg))
     78            logger.info('%s, %s' % (member,msg))
    7979        if s_review_state in ("student_created","admitted") and\
    8080                             a_review_state == 'created' :
     
    134134            redirect_url = "%s/student_index" % student.absolute_url()
    135135    else:
    136         logger.info('"%s", "logged in"' % (member))
     136        logger.info('%s logged in' % (member))
    137137        redirect_url = portal.absolute_url()
    138138#Anonymous
  • WAeUP_SRP/branches/joachim-event-branch/skins/waeup_custom/logout.py

    r1082 r1596  
    1010# notify the event service that the user has logged out
    1111import logging
    12 logger = logging.getLogger('Member.Logout')
     12logger = logging.getLogger('Skins.logout')
    1313user = context.portal_membership.getAuthenticatedMember()
    1414if user:
     
    1616    evtool = getPublicEventService(context)
    1717    evtool.notifyEvent('user_logout', user, {})
    18     logger.info('"%s", "logged out"' % (user))
     18    logger.info('%s logged out' % (user))
    1919
    2020REQUEST = context.REQUEST
Note: See TracChangeset for help on using the changeset viewer.