Changeset 1082 for WAeUP_SRP/trunk/skins


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

logging messages changed

Location:
WAeUP_SRP/trunk/skins
Files:
10 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:
  • WAeUP_SRP/trunk/skins/waeup_pins/disable_pins.py

    r1062 r1082  
    1515current = DateTime.DateTime().strftime("%d-%m-%y_%H_%M_%S")
    1616import logging
    17 logger = logging.getLogger('getStudentInfo')
     17logger = logging.getLogger('Pin.Disable')
    1818
    1919request = REQUEST
  • WAeUP_SRP/trunk/skins/waeup_pins/enable_pins.py

    r1062 r1082  
    1515current = DateTime.DateTime().strftime("%d-%m-%y_%H_%M_%S")
    1616import logging
    17 logger = logging.getLogger('getStudentInfo')
     17logger = logging.getLogger('Pin.Enable')
    1818
    1919request = REQUEST
  • WAeUP_SRP/trunk/skins/waeup_student/application_view.pt

    r911 r1082  
    11<metal:html tal:define="info context/getStudentInfo">
     2  <span tal:condition="not: info">
     3    <metal:block use-macro="here/illegal_view/macros/illegal_view" />
     4  </span>
     5  <metal:block tal:condition="info">
    26  <metal:body use-macro="here/waeup_content_master/macros/master">
    37    <metal:main fill-slot="main">
     
    2832    </metal:main>
    2933  </metal:body>
     34  </metal:block>
    3035</metal:html>
  • WAeUP_SRP/trunk/skins/waeup_student/clearance_edit.py

    r1073 r1082  
    1616current = DateTime.DateTime()
    1717import logging
    18 logger = logging.getLogger('Student.Clearance')
     18logger = logging.getLogger('Student.Clearance.Edit')
    1919
    2020cpsdocument_edit_button = REQUEST.has_key('cpsdocument_edit_button')
  • WAeUP_SRP/trunk/skins/waeup_student/getApplicationInfo.py

    r1078 r1082  
    1313"""
    1414import logging
    15 logger = logging.getLogger('getApplicationInfo')
     15logger = logging.getLogger('Student.Application.Info')
    1616
    1717request = context.REQUEST
  • WAeUP_SRP/trunk/skins/waeup_student/getClearanceInfo.py

    r1078 r1082  
    1313"""
    1414import logging
    15 logger = logging.getLogger('getClearanceInfo')
     15logger = logging.getLogger('Student.Clearance.Info')
    1616
    1717request = context.REQUEST
  • WAeUP_SRP/trunk/skins/waeup_student/getStudentInfo.py

    r1067 r1082  
    2121
    2222import logging
    23 logger = logging.getLogger('getStudentInfo')
     23logger = logging.getLogger('Student.Info')
    2424
    2525info = {}
  • WAeUP_SRP/trunk/skins/waeup_student/raise_objection.py

    r1077 r1082  
    1414import DateTime
    1515import logging
    16 logger = logging.getLogger('raise_objection')
     16logger = logging.getLogger('Student.Objection')
    1717
    1818wf = context.portal_workflow
Note: See TracChangeset for help on using the changeset viewer.