IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 25, 2011, 2:50:04 PM (15 years ago)
Author:
rhenders
Message:

improved some log messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/batch.py

    r32819 r32824  
    296296        # tar directory
    297297        cmd = "tar -cvf " + tarPath + " -C " + self.subDir + " " + self.batchName
    298         self.logger.infoPair("Running", cmd)
     298        self.logger.infoPair("Creating tar archive", cmd)
    299299        p = Popen(cmd, shell=True, stdout=PIPE)
    300300        p.wait()
     
    306306        # zip tar archive
    307307        cmd = "gzip -c " + tarPath + " > " + tarballPath
    308         self.logger.infoPair("Running", cmd)
     308        self.logger.infoPair("Compressing tar archive", cmd)
    309309        p = Popen(cmd, shell=True, stdout=PIPE)
    310310        p.wait()
     
    315315
    316316        # only now can we report that the batch has successfully processed
    317         self.logger.infoPair("Batch tar 'n zip successful", "setting batch to 'processed'")
    318317        self.ippToPspsDb.updateProcessed(self.batchID, 1)
    319318
Note: See TracChangeset for help on using the changeset viewer.