Changes between Version 3 and Version 4 of UnifiedLogger


Ignore:
Timestamp:
07/12/2019 09:11:00 AM (7 years ago)
Author:
jdalbey
Comment:

draft

Legend:

Unmodified
Added
Removed
Modified
  • UnifiedLogger

    v3 v4  
    1313 * Instructor Comments & Evaluations (generated by EI Notebook) 
    1414 
    15 The output is a CSV file, unifiedlog.csv, which merges all the previous logs and orders them by simulation time. 
     15The output is a CSV file, unifiedlog.csv, which merges all the previous logs and orders them by simulation time (which it reads from `sim_elapsedtime.json`). 
    1616 
    1717A separate web app, `unifiedlogmonitor.html`, runs in a web browser to display a nicely formatted version of the CSV file. 
     
    3030 
    3131=== Testing === 
    32 Attached to this page are test data files: `CADlogTestdata.txt` and `CMSlogTestdata.txt.` 
     32Attached to this page are test data files: `CADlogTestdata.txt`,  `CMSlogTestdata.txt, and simtimeTestdata.txt.` 
    3333 
    3434Save the first one in the `trunk` folder and rename it to `CADcomments.log` 
    3535 
    36 Save the second one in `webapps/dynamicdata` and rename it to `cms_messages.json` 
     36Save the second one in the `webapps/dynamicdata` folder and rename it to `cms_messages.json` 
     37 
     38Save the third one in the `webapps/dynamicdata` folder and rename it to `sim_elapsedtime.json` 
    3739 
    3840Open a terminal in the trunk folder and start the application: `python deploy/unifiedlogger.zip` 
    3941 
    40 The application will echo logs to the console for diagnostic purposes.The expected output file is `unifiedlog_expected.csv` (attached). It should match the actual results in `unifiedlog.csv`. 
     42The application will echo logs to the console for diagnostic purposes. The expected output file is `unifiedlog_expected.csv` (attached). It should match the actual results in `unifiedlog.csv`. 
    4143 
    4244While the application is running you may append further entries to either data file, save it, and observe the output csv file is updated with the new entry. 
     
    4749 
    4850{{{ 
    49 example 
     510:08:04 CAD log         Incident #181              Henry: HELLO FROM EARTH 
     520:08:04 CMS Activated.  N I-405 15.18 MAGNOLIA ST  'SLOW FOR THE::CONE ZONE:::' 
    5053}}} 
    5154=== Usage ===