IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33271 for trunk/ippToPsps


Ignore:
Timestamp:
Feb 15, 2012, 12:53:37 PM (14 years ago)
Author:
rhenders
Message:

removing debugging sys.exit() call; using more generic way of setting up logging

File:
1 edited

Legend:

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

    r33259 r33271  
    139139# open config file
    140140config = Config(CONFIGPATH)
    141 #logger = config.getLogger("load", 0, 1)
    142 logger = config.getLogger("load")
     141#logger = config.getLogger(sys.argv[0], 0, 1)
     142logger = config.getLogger(sys.argv[0])
    143143
    144144# create various objects
     
    238238               logger.infoBool("Using pre-ingested DVO data?", useFullTables)
    239239               processTheseItems(batchType, ids, useFullTables)
    240                sys.exit(1)
    241240               
    242241               # in the test mode, we quit after submitting one batch
Note: See TracChangeset for help on using the changeset viewer.