Changes between Version 3 and Version 4 of UnifiedLogger
- Timestamp:
- 07/12/2019 09:11:00 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
UnifiedLogger
v3 v4 13 13 * Instructor Comments & Evaluations (generated by EI Notebook) 14 14 15 The output is a CSV file, unifiedlog.csv, which merges all the previous logs and orders them by simulation time .15 The 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`). 16 16 17 17 A separate web app, `unifiedlogmonitor.html`, runs in a web browser to display a nicely formatted version of the CSV file. … … 30 30 31 31 === Testing === 32 Attached to this page are test data files: `CADlogTestdata.txt` and `CMSlogTestdata.txt.`32 Attached to this page are test data files: `CADlogTestdata.txt`, `CMSlogTestdata.txt, and simtimeTestdata.txt.` 33 33 34 34 Save the first one in the `trunk` folder and rename it to `CADcomments.log` 35 35 36 Save the second one in `webapps/dynamicdata` and rename it to `cms_messages.json` 36 Save the second one in the `webapps/dynamicdata` folder and rename it to `cms_messages.json` 37 38 Save the third one in the `webapps/dynamicdata` folder and rename it to `sim_elapsedtime.json` 37 39 38 40 Open a terminal in the trunk folder and start the application: `python deploy/unifiedlogger.zip` 39 41 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`.42 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`. 41 43 42 44 While 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. … … 47 49 48 50 {{{ 49 example 51 0:08:04 CAD log Incident #181 Henry: HELLO FROM EARTH 52 0:08:04 CMS Activated. N I-405 15.18 MAGNOLIA ST 'SLOW FOR THE::CONE ZONE:::' 50 53 }}} 51 54 === Usage ===
