IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 31, 2013, 4:13:09 PM (13 years ago)
Author:
eugene
Message:

split out config (static info) and skychunk (area being processed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/jython/pslogger.py

    r33349 r35076  
    1111   This will default to stout and no file output
    1212   '''
    13    def setup(self, programName, basePath, configName, host, pid, stdout=1, sendToFile=0):
     13   def setup(self, programName, basePath, skychunkName, host, pid, stdout=1, sendToFile=0):
    1414
    1515       formatter = logging.Formatter('%(asctime)s | %(levelname)7s | %(message)s', '%Y-%m-%d %H:%M:%S')
     
    2121           PATH = basePath + "/log"
    2222           if not os.path.exists(PATH): os.makedirs(PATH)
    23            FULLPATH = PATH + "/" + programName + "_" + configName + "_" + host + "_" + str(pid) + ".log"
     23           FULLPATH = PATH + "/" + programName + "_" + skychunkName + "_" + host + "_" + str(pid) + ".log"
    2424           # opens file to be appended
    2525           hdlr = logging.FileHandler(FULLPATH, "a")
Note: See TracChangeset for help on using the changeset viewer.