Changeset 12893
- Timestamp:
- 29 Apr 2015, 10:14:45 (10 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/userdocs/datacenter/logging.rst
r12892 r12893 100 100 2015-04-29 10:15:28,703 - INFO - admin - app2015_262037 - Application started 101 101 2015-04-29 10:15:28,704 - INFO - admin - applicants.browser.ApplicantManageFormPage - app2015_262037 - saved: reg_number + sex + course1 + date_of_birth 102 2015-04-29 10:16:27,654 - INFO - admin - applicants.browser.ApplicationFeePaymentAddPage - app2015_262037 - added: p4302953958139 102 103 2015-04-29 10:16:38,921 - INFO - admin - app2015_262037 - Payment approved 103 2015-04-29 10:16:38,922 - INFO - admin - applicants.browser.OnlinePaymentApprovePage - app2015_262037 - paymentapproved: p4302953958139104 2015-04-29 10:16:38,922 - INFO - admin - applicants.browser.OnlinePaymentApprovePage - app2015_262037 - approved: p4302953958139 104 105 2015-04-29 10:16:58,026 - INFO - admin - app2015_262037 - Application submitted 105 106 2015-04-29 10:17:01,040 - INFO - admin - applicants.browser.ApplicantManageFormPage - app2015_262037 - saved: course_admitted -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r12892 r12893 603 603 created.append(result.applicant_id) 604 604 else: 605 ob_class = self.__implemented__.__name__.replace('waeup.kofa.','') 605 ob_class = self.__implemented__.__name__.replace( 606 'waeup.kofa.','') 606 607 applicants_root.logger.info( 607 608 '%s - %s - %s' % (ob_class, result.applicant_id, msg)) … … 656 657 return 657 658 self.context[payment.p_id] = payment 659 self.context.writeLogMessage(self, 'added: %s' % payment.p_id) 658 660 self.flash(_('Payment ticket created.')) 659 661 self.redirect(self.url(payment)) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/payment.py
r11599 r12893 52 52 msg = log = 'Error: %s' % sys.exc_info()[1] 53 53 return 'danger', msg, log 54 log = ' paymentapproved: %s' % self.p_id54 log = 'approved: %s' % self.p_id 55 55 msg = _('Payment approved') 56 56 flashtype = 'success' -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r12664 r12893 892 892 self.assertTrue( 893 893 'zope.mgr - applicants.browser.OnlinePaymentApprovePage - ' 894 '%s - paymentapproved' % self.applicant.applicant_id894 '%s - approved' % self.applicant.applicant_id 895 895 in logcontent) 896 896 # ... and in payments.log
Note: See TracChangeset for help on using the changeset viewer.