PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → server logs do you keep
server logs do you keep
Débuté par FilembaFrEliJEEVAN, 10 mar. 2022 13:26 - Aucune réponse
Membre enregistré
5 messages
Posté le 10 mars 2022 - 13:26
I run some small apps for our staff (a few hundred users total).

In the past, I've logged all raw requests, particularly for request methods and payloads sent, and response status codes. These go into the database and just exist in case something comes up. I'm also using Sentry to capture exceptions.

I don't find myself checking these logs often and rely on sentry to identify issues for improvement. How do others keep logs? What kinds do you keep? How long? Do you write to a file and parse or insert database records?