Index: trunk/ippToPsps/jython/pslogger.py
===================================================================
--- trunk/ippToPsps/jython/pslogger.py	(revision 33192)
+++ trunk/ippToPsps/jython/pslogger.py	(revision 33259)
@@ -7,7 +7,8 @@
 
    '''
-   Sets up logging using values from the ippToPsps config file
+   Sets up logging using provided values and this process hostname and PID if sending to file
+   This will default to stout and no file output
    '''
-   def setup(self, doc, name, stdout=1, sendToFile=0, host="host", pid=1234):
+   def setup(self, name, basePath, dvoLabel, stdout=1, sendToFile=0):
 
        formatter = logging.Formatter('%(asctime)s | %(levelname)7s | %(message)s', '%Y-%m-%d %H:%M:%S')
@@ -15,8 +16,12 @@
 
        if sendToFile:
-           PATH = doc.find("localOutPath").text + "/log"
+
+           HOST = socket.gethostname()
+           PID = os.getpid()
+
+           # generate path
+           PATH = basePath + "/log"
            if not os.path.exists(PATH): os.makedirs(PATH)
-           DVOLABEL = doc.find("dvo/gpc1Label").text
-           FULLPATH = PATH + "/" + name + "_" + DVOLABEL + "_" + host + "_" + str(pid) + ".log"
+           FULLPATH = PATH + "/" + name + "_" + dvoLabel + "_" + HOST + "_" + str(PID) + ".log"
 
            # opens file to be appended
