UA-Smart-Signage-Platform / Content-Manager-System-and-Content-Creator-Tool

Content Manager System and Content Creator Tool developed to facilitate the presentation of information.
GNU General Public License v3.0
1 stars 0 forks source link

Add logs to services on backend for future frontend use and display. #195

Closed pdPinho closed 3 weeks ago

pdPinho commented 1 month ago

Issue

Closes #194

Reason for this change

Debugging and monitoring what was happening in our backend was quite difficult and vague due to relying on normal error logs. This PR aims to add some logs to the services which will help us understand what, how and when something happened. On top of that we will also be capable of visualizing and easily monitor these logs (and monitors) on the frontend in the upcoming feature for the dashboard.

Description of changes

Description of how you validated changes

Ran docker compose up and local unit tests.

Checklist

Aditional Information

The logs are by default being created with the user admin. This has to be changed in the future.

sonarcloud[bot] commented 4 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

sonarcloud[bot] commented 4 weeks ago

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
25.8% Coverage on New Code (required ≥ 80%)
B Security Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

pdPinho commented 4 weeks ago