Ignore:
Timestamp:
07/28/2019 06:23:41 AM (7 years ago)
Author:
jdalbey
Message:

activity log watcher modified to output comma-delimited fields. Fixes #179.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/python/unifiedlogger/wing_project.wpr

    r467 r470  
    4646                 'full-screen': False, 
    4747                 'notebook_display': 'normal', 
    48                  'notebook_percent': 0.3850187265917603, 
     48                 'notebook_percent': 0.3472840605520926, 
    4949                 'override_title': None, 
    5050                 'pagelist': [('source-assistant', 
     
    8686                          1], 
    8787        'notebook_display': 'hidden', 
    88         'notebook_percent': 0.30000000000000004, 
     88        'notebook_percent': 0.0, 
    8989        'override_title': None, 
    9090        'pagelist': [('batch-search', 
     
    183183                       'toolbox-percent': 1.0, 
    184184                       'toolbox-tree-sel': ''})], 
    185         'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('logging_service.py'), 
    186         {'attrib-starts': [('startup|0|', 
    187                             20)], 
    188          'code-line': '                trimmed_item = item.strip()\n', 
    189          'first-line': 50L, 
     185        'primary_view_state': {'editor_states': ({'bookmarks': ([[loc('activitylog_watcher.py'), 
     186        {'attrib-starts': [('getLogEntries|0|', 
     187                            42)], 
     188         'code-line': '    return currList\n', 
     189         'first-line': 37L, 
    190190         'folded-linenos': [], 
    191          'sel-line': 57L, 
    192          'sel-line-start': 1955L, 
    193          'selection_end': 1955L, 
    194          'selection_start': 1955L, 
     191         'sel-line': 48L, 
     192         'sel-line-start': 1427L, 
     193         'selection_end': 1427L, 
     194         'selection_start': 1427L, 
    195195         'zoom': 0L}, 
    196         1563915884.294776], 
    197         [loc('activitylog_watcher.py'), 
    198          {'attrib-starts': [('getLogEntries|0|', 
    199                              42)], 
    200           'code-line': '    return currList\n', 
    201           'first-line': 37L, 
    202           'folded-linenos': [], 
    203           'sel-line': 48L, 
    204           'sel-line-start': 1427L, 
    205           'selection_end': 1427L, 
    206           'selection_start': 1427L, 
    207           'zoom': 0L}, 
    208          1563915907.118035], 
     196        1563915907.118035], 
    209197        [loc('logging_service.py'), 
    210198         {'attrib-starts': [('startup|0|', 
     
    423411          'selection_start': 1506L, 
    424412          'zoom': 0L}, 
    425          1564287481.404096]], 
     413         1564287481.404096], 
     414        [loc('cad_watcher.py'), 
     415         {'attrib-starts': [('getLogEntries|0|', 
     416                             24)], 
     417          'code-line': "            msgList = text_file.read().split('\\n')"\ 
     418                       "\n", 
     419          'first-line': 29L, 
     420          'folded-linenos': [], 
     421          'sel-line': 52L, 
     422          'sel-line-start': 1613L, 
     423          'selection_end': 1613L, 
     424          'selection_start': 1613L, 
     425          'zoom': 0L}, 
     426         1564324057.330601]], 
    426427        20), 
    427         'current-loc': loc('cad_watcher.py'), 
     428        'current-loc': loc('activitylog_watcher.py'), 
    428429        'editor-state-list': [(loc('activitylog_watcher.py'), 
    429430                               {'attrib-starts': [('getLogEntries|0|', 
    430431        42)], 
    431                                 'code-line': '    resultList = []\n', 
    432                                 'first-line': 40L, 
     432                                'code-line': '        desiredFields = "Activ'\ 
     433        'ity Log.,"+name+","+code+","+msg\n', 
     434                                'first-line': 33L, 
    433435                                'folded-linenos': [], 
    434                                 'sel-line': 48L, 
    435                                 'sel-line-start': 1422L, 
    436                                 'selection_end': 1422L, 
    437                                 'selection_start': 1422L, 
     436                                'sel-line': 55L, 
     437                                'sel-line-start': 1666L, 
     438                                'selection_end': 1728L, 
     439                                'selection_start': 1728L, 
    438440                                'zoom': 0L}), 
    439441                              (loc('cad_watcher.py'), 
     
    493495                                'selection_start': 28L, 
    494496                                'zoom': 0L})], 
    495         'has-focus': True, 
     497        'has-focus': False, 
    496498        'locked': False}, 
    497499        [loc('activitylog_watcher.py'), 
     
    503505                               'open_files': [u'../../../config/logging_service.cfg', 
    504506        u'__main__.py', 
    505         u'activitylog_watcher.py', 
    506507        u'cms_watcher.py', 
    507508        u'logging_service.py', 
    508         u'cad_watcher.py']}, 
     509        u'cad_watcher.py', 
     510        u'activitylog_watcher.py']}, 
    509511        'saved_notebook_display': None, 
    510512        'split_percents': {0: 0.5}, 
     
    521523                 'traversal_pos': ((0, 
    522524                                    4), 
    523                                    1564289756.891358), 
     525                                   1564325707.122876), 
    524526                 'user_data': {}}, 
    525527        'window-alloc': (29, 
     
    527529                         1197, 
    528530                         722)}]} 
    529 guimgr.recent-documents = [loc('cad_watcher.py'), 
     531guimgr.recent-documents = [loc('activitylog_watcher.py'), 
     532                           loc('cad_watcher.py'), 
    530533                           loc('logging_service.py'), 
    531534                           loc('__main__.py'), 
    532                            loc('activitylog_watcher.py'), 
    533535                           loc('cms_watcher.py'), 
    534536                           loc('../../../config/logging_service.cfg')] 
Note: See TracChangeset for help on using the changeset viewer.