Index: trunk/src/python/unifiedlogger/wing_project.wpr
===================================================================
--- trunk/webapps/unifiedlogger/wing_project.wpr	(revision 439)
+++ trunk/src/python/unifiedlogger/wing_project.wpr	(revision 440)
@@ -85,5 +85,5 @@
                           1],
         'notebook_display': 'hidden',
-        'notebook_percent': 0.30000000000000004,
+        'notebook_percent': 0.0,
         'override_title': None,
         'pagelist': [('batch-search',
@@ -183,53 +183,15 @@
                        'toolbox-tree-sel': ''})],
         'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('cms_watcher.py'),
-        {'attrib-starts': [('readFile|0|',
-                            18)],
-         'code-line': "     with open (\"webapps/dynamicdata/cms_messages.js"\
-                      "on\",'r') as myfile:\n",
-         'first-line': 12L,
+        {'attrib-starts': [('main|0|',
+                            85)],
+         'code-line': 'def main():\n',
+         'first-line': 60L,
          'folded-linenos': [],
-         'sel-line': 19L,
-         'sel-line-start': 428L,
-         'selection_end': 465L,
-         'selection_start': 445L,
+         'sel-line': 85L,
+         'sel-line-start': 3074L,
+         'selection_end': 3085L,
+         'selection_start': 3085L,
          'zoom': 0L},
-        1562878134.304885],
-        [loc('logging_service.py'),
-         {'attrib-starts': [('startup|0|',
-                             16)],
-          'code-line': '        timeStamp = getSimTime()\n',
-          'first-line': 18L,
-          'folded-linenos': [],
-          'sel-line': 41L,
-          'sel-line-start': 1347L,
-          'selection_end': 1378L,
-          'selection_start': 1378L,
-          'zoom': 0L},
-         1562878168.115609],
-        [loc('__main__.py'),
-         {'attrib-starts': [('main|0|',
-                             2)],
-          'code-line': '    print "Unified Logging Service starting from ",o'\
-                       's.getcwd()\n',
-          'first-line': 0L,
-          'folded-linenos': [],
-          'sel-line': 3L,
-          'sel-line-start': 132L,
-          'selection_end': 183L,
-          'selection_start': 183L,
-          'zoom': 0L},
-         1562878178.825696],
-        [loc('cms_watcher.py'),
-         {'attrib-starts': [('main|0|',
-                             85)],
-          'code-line': 'def main():\n',
-          'first-line': 60L,
-          'folded-linenos': [],
-          'sel-line': 85L,
-          'sel-line-start': 3074L,
-          'selection_end': 3085L,
-          'selection_start': 3085L,
-          'zoom': 0L},
-         1562878428.05693],
+        1562878428.05693],
         [loc('cad_watcher.py'),
          {'attrib-starts': [],
@@ -442,7 +404,45 @@
           'selection_start': 1903L,
           'zoom': 0L},
-         1562883842.916941]],
+         1562883842.916941],
+        [loc('logging_service.py'),
+         {'attrib-starts': [('startup|0|',
+                             17)],
+          'code-line': '            f = open(logfilepath + outputFilename, "'\
+                       'a")\n',
+          'first-line': 0L,
+          'folded-linenos': [],
+          'sel-line': 63L,
+          'sel-line-start': 2214L,
+          'selection_end': 2263L,
+          'selection_start': 2263L,
+          'zoom': 0L},
+         1562887416.91585],
+        [loc('__main__.py'),
+         {'attrib-starts': [('main|0|',
+                             2)],
+          'code-line': '    print "Unified Logging Service starting from ",o'\
+                       's.getcwd()\n',
+          'first-line': 0L,
+          'folded-linenos': [],
+          'sel-line': 3L,
+          'sel-line-start': 132L,
+          'selection_end': 183L,
+          'selection_start': 183L,
+          'zoom': 0L},
+         1562892803.750792],
+        [loc('cms_watcher.py'),
+         {'attrib-starts': [('isEmpty|0|',
+                             12)],
+          'code-line': '     return cmsitem == ":::::"\n',
+          'first-line': 0L,
+          'folded-linenos': [],
+          'sel-line': 13L,
+          'sel-line-start': 324L,
+          'selection_end': 353L,
+          'selection_start': 353L,
+          'zoom': 0L},
+         1562893146.713132]],
         20),
-        'current-loc': loc('logging_service.py'),
+        'current-loc': loc('__main__.py'),
         'editor-state-list': [(loc('cad_watcher.py'),
                                {'attrib-starts': [('setup|0|',
@@ -457,14 +457,14 @@
                                 'zoom': 0L}),
                               (loc('cms_watcher.py'),
-                               {'attrib-starts': [('extractMessages|0|',
-        45)],
-                                'code-line': "                    msgList[id"\
-        "x]['cms']['message']['phase2']['Line2'] + ':' +\n",
-                                'first-line': 39L,
+                               {'attrib-starts': [('isEmpty|0|',
+        12)],
+                                'code-line': '     return cmsitem == ":::::"'\
+        '\n',
+                                'first-line': 0L,
                                 'folded-linenos': [],
-                                'sel-line': 54L,
-                                'sel-line-start': 1829L,
-                                'selection_end': 1903L,
-                                'selection_start': 1903L,
+                                'sel-line': 13L,
+                                'sel-line-start': 324L,
+                                'selection_end': 353L,
+                                'selection_start': 353L,
                                 'zoom': 0L}),
                               (loc('logging_service.py'),
@@ -492,5 +492,5 @@
                                 'selection_start': 183L,
                                 'zoom': 0L})],
-        'has-focus': False,
+        'has-focus': True,
         'locked': False},
         [loc('cad_watcher.py'),
@@ -498,8 +498,8 @@
          loc('logging_service.py'),
          loc('__main__.py')]),
-                               'open_files': [u'__main__.py',
-        u'cad_watcher.py',
+                               'open_files': [u'cad_watcher.py',
+        u'logging_service.py',
         u'cms_watcher.py',
-        u'logging_service.py']},
+        u'__main__.py']},
         'saved_notebook_display': None,
         'split_percents': {0: 0.5},
@@ -516,5 +516,5 @@
                  'traversal_pos': ((0,
                                     4),
-                                   1562884289.035461),
+                                   1562892833.554952),
                  'user_data': {}},
         'window-alloc': (29,
@@ -522,8 +522,8 @@
                          1197,
                          722)}]}
-guimgr.recent-documents = [loc('logging_service.py'),
+guimgr.recent-documents = [loc('__main__.py'),
                            loc('cms_watcher.py'),
-                           loc('cad_watcher.py'),
-                           loc('__main__.py')]
+                           loc('logging_service.py'),
+                           loc('cad_watcher.py')]
 guimgr.visual-state = {loc('../../../../../../../usr/lib/python2.7/ConfigParser.py'): {'a'\
         'ttrib-starts': [('ConfigParser|0|',
Index: trunk/src/python/unifiedlogger/cms_watcher.py
===================================================================
--- trunk/webapps/unifiedlogger/cms_watcher.py	(revision 439)
+++ trunk/src/python/unifiedlogger/cms_watcher.py	(revision 440)
@@ -12,5 +12,5 @@
 # Utility functions
 def isEmpty(cmsitem):
-     return cmsitem == ",,,,,"
+     return cmsitem == ":::::"
 def isFull(cmsitem):
      return not isEmpty(cmsitem)
