Uploaded image for project: 'National Data Service'
  1. National Data Service
  2. NDS-507

Explore log forwarding for NDS Labs UI

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • User Interface
    • None
    • NDS Sprint 18

      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

              lambert8 Sara Lambert
              lambert8 Sara Lambert
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 6 hours
                  1d 6h