Ignore:
Timestamp:
18 Jun 2012, 06:28:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Simplify logging. Adjust to students.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r8667 r8742  
    6767        return
    6868
    69     def loggerInfo(self, ob_class, comment=None):
    70         target = self.applicant_id
    71         return grok.getSite()['applicants'].logger_info(ob_class,target,comment)
     69    def writeLogMessage(self, view, message):
     70        ob_class = view.__implemented__.__name__.replace('waeup.kofa.','')
     71        self.__parent__.__parent__.logger.info(
     72            '%s - %s - %s' % (ob_class, self.applicant_id, message))
     73        return
    7274
    7375    @property
Note: See TracChangeset for help on using the changeset viewer.