GEWIS / sudosos-backend

SudoSOS is a Node.js-based Bar and POS system made for study association GEWIS.
https://sudosos.gewis.nl
GNU Affero General Public License v3.0
4 stars 3 forks source link

Improve production logging and make it (more) persistent. #154

Open JustSamuel opened 6 months ago

JustSamuel commented 6 months ago

Our current logging setup is dumping everything in stdout (which is not bad). However, I think we should move to a more insightful setup that allows is to effectively search our logs and be better able to trace when something goes wrong.

Maybe something like an ELK setup?

rinkp commented 6 months ago

I think the current setup is easy to use for both development and in production. If there is need for improved logging, you can consider changing the logging globally on the docker server to be more persistent.

rinkp commented 6 months ago

If you want to go this route, you most likely can reuse the configuration that we use for keycloak and ingest data to elastic-ingest.localnet.gewis.nl to make it available on kibana.gewis.nl

Edit: we probably should change the oauth a bit for that