wtg / Shuttle-Tracker-SwiftUI

Rensselaer campus shuttle tracker
https://shuttletracker.app
Mozilla Public License 2.0
9 stars 2 forks source link

Logging infrastructure #105

Closed Gerzer closed 1 year ago

Gerzer commented 1 year ago

As we build and deploy the Shuttle Tracker Network, it’s very likely that we’ll need to respond to unforeseen real-world limitations and problems. We currently have some minimal logging infrastructure in the SwiftUI app, but we haven’t yet developed a way to extract those logs from real-world users’ devices. To accomplish this, we should prompt users to opt in to extended logging and, if opted in, upload those logs to our server.

In addition to changes to the SwiftUI app, this initiative will require updates to our server as well as a separate, internal Mac app for authenticating with the server, downloading logs, and sending them to the macOS Console app.