Changeset 2563 for WAeUP_SRP


Ignore:
Timestamp:
7 Nov 2007, 10:17:05 (17 years ago)
Author:
joachim
Message:

add logging message

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r2562 r2563  
    347347        student_entry = getattr(self.portal_directories.students,student_id,None)
    348348        if not self.isStaff():
     349            mtool = self.portal_membership
     350            member = mtool.getAuthenticatedMember()
     351            logger = logging.getLogger('WAeUPTool.getCredential')
     352            logger.info('%s tried to access password of %s' % (member,student_id))
    349353            return None
    350354        if student_entry is None:
Note: See TracChangeset for help on using the changeset viewer.