Index: trunk/src/python/unifiedlogger/cms_watcher.py
===================================================================
--- trunk/src/python/unifiedlogger/cms_watcher.py	(revision 549)
+++ trunk/src/python/unifiedlogger/cms_watcher.py	(revision 687)
@@ -1,3 +1,3 @@
-import json, time
+import json, time, ConfigParser
 from copy import deepcopy
 
@@ -9,4 +9,5 @@
 currList = []  # current messages
 locationMap = {} # map of CMS ID's to locations
+filepath = "webapps/dynamicdata" # default during development
 
 # Utility functions
@@ -17,9 +18,10 @@
 
 # Read the cms message file
-def readFile():     
-     with open ("webapps/dynamicdata/cms_messages.json",'r') as myfile:
+def readFile():
+    global filepath
+    with open (filepath+"/cms_messages.json",'r') as myfile:
           jsonData=myfile.read()
  
-     return json.loads(jsonData)['data']
+    return json.loads(jsonData)['data']
 
 # Read the static file of cms locations and create a lookup map
@@ -56,6 +58,12 @@
                     msgList[idx]['cms']['message']['phase2']['Line3'])
 
-def setup():
-     extractMessages(initialize())
+def setup(dir):
+    global filepath
+    # get path to input file from configuration
+    config = ConfigParser.ConfigParser()
+    config.read(dir+'/logging_service.cfg')
+    filepath  = config.get('Paths', 'UnifiedLogPath')
+   
+    extractMessages(initialize())
 
 # compare previous messages to current messages to look for changes
@@ -86,5 +94,5 @@
 def main():
      global currList
-     setup()
+     setup("config/devlinux")
      # Loop Forever
      while True:
