Ignore:
Timestamp:
27 Aug 2015, 08:50:56 (9 years ago)
Author:
Henrik Bettermann
Message:

Log the numbers of removed applicant and student ids.

File:
1 edited

Legend:

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

    r13233 r13234  
    129129                if len(removed_applicant_ids):
    130130                    logger.info(
    131                         '%s: %s removed from global role map.'
    132                         % (self.log_prefix, removed_applicant_ids))
     131                        '%s: %s applicant ids removed from global role map: %s'
     132                        % (self.log_prefix, len(removed_applicant_ids),
     133                           removed_applicant_ids))
    133134            except ComponentLookupError: # in unit tests
    134135                pass
     
    150151                        'waeup.Student', student_id)
    151152                    removed_student_ids.append(student_id)
    152                 if len(removed_student_ids):
     153                if len(removed_applicant_ids):
    153154                    logger.info(
    154                         '%s: %s removed from global role map.'
    155                         % (self.log_prefix, removed_student_ids))
     155                        '%s: %s student ids removed from global role map: %s'
     156                        % (self.log_prefix, len(removed_student_ids),
     157                           removed_student_ids))
    156158            except ComponentLookupError: # in unit tests
    157159                pass
Note: See TracChangeset for help on using the changeset viewer.