Changeset 4887 for waeup/trunk/src


Ignore:
Timestamp:
23 Jan 2010, 18:03:37 (15 years ago)
Author:
uli
Message:
  • Link to correct logfile after batch processing.
  • Pass logger instance when batch processing.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/trunk/src/waeup/browser/pages.py

    r4880 r4887  
    562562
    563563        if showlog is not None:
    564             logfilename = "%s.%s.msg" % (self.filename, self.mode)
     564            logfilename = "logs/datacenter.log" # % (self.filename, self.mode)
    565565            session['logname'] = logfilename
    566566            self.redirect(self.url(self.context, '@@show'))
     
    571571        (linenum, self.warn_num) = self.importer.doImport(
    572572            self.fullpath, self.headerfields, self.mode,
    573             self.request.principal.id)
     573            self.request.principal.id, logger=self.context.logger)
    574574        if self.warn_num:
    575575            self.flash('Processing of %d rows failed!' % self.warn_num)
Note: See TracChangeset for help on using the changeset viewer.