Changeset 8389


Ignore:
Timestamp:
9 May 2012, 08:52:17 (13 years ago)
Author:
Henrik Bettermann
Message:

Slim down main.log a bit.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/accesscodes/accesscode.py

    r8322 r8389  
    445445
    446446    def update(self, site, name, logger):
     447        site_name = getattr(site, '__name__', '<Unnamed Site>')
    447448        if not 'accesscodes' in site.keys():
    448449            logger.info('Updating site at %s. Installing access codes.' % (
     
    452453            logger.info(
    453454                'AccessCodePlugin: Updating site at %s: Nothing to do.' % (
    454                     site, ))
     455                    site_name, ))
    455456        return
    456457
  • main/waeup.kofa/trunk/src/waeup/kofa/meta.py

    r7819 r8389  
    9090    """
    9191    def __call__(self, site, event):
    92         site.logger.info('Create catalog `%s` if not installed yet.'  % (
    93                 self.catalog_name,))
     92        #site.logger.info('Create catalog `%s` if not installed yet.'  % (
     93        #        self.catalog_name,))
    9494        # make sure we have an intids
    9595        self._createIntIds(site)
     
    9999        for name, index in self.indexes.items():
    100100            try:
    101                 site.logger.info('Create index `%s` in catalog.' % name)
     101                #site.logger.info('Create index `%s` in catalog.' % name)
    102102                index.setup(catalog, name, self.context, self.module_info)
    103                 site.logger.info('Index created.')
     103                site.logger.info('%s: Index %s created.' % (self.catalog_name,name))
    104104            except KeyError: #, DuplicationError:
    105                 site.logger.info('Index `%s` already in catalog.' % name)
     105                #site.logger.info('Index `%s` already in catalog.' % name)
    106106                pass
    107         site.logger.info('Catalog `%s` ready.' % self.catalog_name)
     107        #site.logger.info('Catalog `%s` ready.' % self.catalog_name)
Note: See TracChangeset for help on using the changeset viewer.