Ignore:
Timestamp:
18 Dec 2006, 21:25:01 (18 years ago)
Author:
Henrik Bettermann
Message:

logging messages changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1021 r1082  
    1616current = DateTime.DateTime()
    1717import logging
    18 logger = logging.getLogger('Student.Login')
     18logger = logging.getLogger('Member.Login')
    1919
    2020
     
    106106        else:
    107107            to_member_home, to_workspaces = checkRedirect(portal, mtool)
     108
    108109if (not to_member_home) and (not to_workspaces):
    109110    redirect_to_portal = True
     
    124125elif to_member_home:
    125126    redirect_url = mtool.getHomeFolder().absolute_url()
     127    logger.info('"%s", "logged in"' % (member))
    126128elif to_workspaces:
    127129    redirect_url = portal.workspaces.absolute_url()
     130    logger.info('"%s", "logged in"' % (member))   
    128131elif redirect_to_portal:
    129132    redirect_url = portal_absolute_url
     133    logger.info('"%s", "logged in"' % (member))
    130134
    131135REQUEST = context.REQUEST
Note: See TracChangeset for help on using the changeset viewer.