Details
-
Task
-
Resolution: Fixed
-
Minor
-
None
-
None
-
None
-
NDS Sprint 18
Description
Much of the log data currently goes to the Developer Console of the UI. It would be nice to send these messages, when possible, back to the server so that we can see them in the server logs as well. This way, when a user has issues with the UI, our first response will not need to be "open your browser's developer console".
AngularJS provides a built-in $log service which we use to write to the browser. One hacky, yet easy method of accomplishing this would be to overwrite the $log service with one that calls the default as well as any custom code necessary to aggregate it back to a place where the admins can view it without user interaction.
This ticket is complete when either:
- the logs from the browser dev console are forwarded back to the server logs with a source (ip? user token?) and a message
- one or more new tickets have been filed detailing the work this would take to complete