Info |
---|
To better track the exception log of the program, we integrated support for the Sentry SDK.We recommend using Sentry https://sentry.io/welcome/ or GlitchTip https://glitchtip.com/. |
Currently we support back-end, web-pages, and mobile-side log tracking. Let's take our privatized deployment of GlitchTip as an example
Create a project for logging.
...
Choose the platform for the project. then click "Create Project".
DSN Backend choose Java.
DSN Web choose Web.
DSN Mobile choose Flutter.
...
After successful creation, we need to copy the dsn of the current project. We click the copy icon on the right side of the dsn.
...
Save the Sentry Config,and restart backend service if need.
Log in to the system administrator portal, click "Maintenance"-> "Sentry Config" to enter the Sentry Config settings page. and we paste the DSN Backend to the input area.
By analogy, we can create Web and Mobile projects in the same way.
Tips: The backend log needs to restart the service to take effect.
...
If an exception occurs, we can see the error log in real time through the issues menu.
...