IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 12, 2011, 4:05:37 PM (15 years ago)
Author:
rhenders
Message:

using new pslogger method to setup logging; using new getter for processed IDs from ippToPspsDb class

File:
1 edited

Legend:

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

    r32072 r32090  
    4444    # if not in TEST mode, then only queue un-processed items
    4545    else:
    46         processedIDs = ippToPspsDb.getProcessedIDsForThisStage(batchType, EPOCH, DVOGPC1LABEL)
     46        processedIDs = ippToPspsDb.getProcessedIDs(batchType, EPOCH, DVOGPC1LABEL)
    4747        logger.infoPair("Processed %s items" % batchType, "%d" % len(processedIDs))
    4848        ids = list(set(allIDs) - set(processedIDs))
     
    9595
    9696# set up logging
    97 logging.config.fileConfig("logging.conf")
    9897logging.setLoggerClass(PSLogger)
    9998logger = logging.getLogger("ippToPspsLog")
    100 logger.setLevel(logging.INFO)
     99logger.setup(configDoc, "ippToPsps", 0, 1)
    101100
    102101# create database objects
Note: See TracChangeset for help on using the changeset viewer.