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

logging messages changed

Location:
WAeUP_SRP/trunk/skins/waeup_custom
Files:
2 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
  • WAeUP_SRP/trunk/skins/waeup_custom/logout.py

    r1067 r1082  
    1010# notify the event service that the user has logged out
    1111import logging
    12 logger = logging.getLogger('Logout')
     12logger = logging.getLogger('Member.Logout')
    1313user = context.portal_membership.getAuthenticatedMember()
    1414if user:
Note: See TracChangeset for help on using the changeset viewer.