| | 41 | |
| | 42 | 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. |
| | 43 | |
| | 44 | ''(TBD: explain time interval.)'' |
| | 45 | |
| | 46 | Open `webapps/unifiedlogmonitor.html` in a web browser and observe the csv file listed in reverse chronological order, formatted like this: |
| | 47 | |
| | 48 | {{{ |
| | 49 | example |
| | 50 | }}} |
| | 51 | === Usage === |
| | 52 | Start the CAD server and Simulation Manager. Load the practice script and start it running. Start a CAD client. In a browser, start CPTMS. In a browser, start `unifiedlogmonitor.html`. |
| | 53 | |
| | 54 | Wait for an incident to appear in the CAD client. Open the incident viewer and in the upper comments field, enter a note "hello world" and press Exit/Send.Wait ten seconds and observe an entry for CAD Log appear in the monitor. |
| | 55 | |
| | 56 | In CPTMS, display the CMS layer, open a CMS dialog and enter a message "SLOW TRAFFIC". Click "Send" and wait ten seconds. Observe an entry for CMS Activated to appear in the monitor. Update the CMS message results in a "CMS Updated" entry in the unified log. Clearing a CMS message results in a "CMS Deactivated" entry in the unified log. |
| | 57 | |
| | 58 | === Running as a background service === |
| | 59 | ''TBD: Explain how to start the service as a unix daemon. Explain start, stop, restart. Explain which files are reset, etc.'' |