Inicio → WEBDEV 27 → server logs do you keep
server logs do you keep
Iniciado por FilembaFrEliJEEVAN, mar., 10 2022 1:26 PM - Sem resposta
Membro registado
5 mensagems
Publicado em março, 10 2022 - 1:26 PM
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?