Re:The only two log levels you need are INFO and ERROR
by throwaway598 on Monday April 29, 2024 @02:45AM
(#40195244)
Many posts about logging seem to include the technical advice
> Attach a request/trace id. This goes along with distributed tracing, and helps you filter effectively. Filtering down by log level won't give you context, but correlating by request id will give you all the logs for a given event!
without mentioning the organisational part
*Any personal information collected, including through trace, can be a liability. Ensure you have a log retention policy, don't use trace, or don't collect anything personal information *
Being a hacker's not just about code. It's about working a system.
> Attach a request/trace id. This goes along with distributed tracing, and helps you filter effectively. Filtering down by log level won't give you context, but correlating by request id will give you all the logs for a given event!
without mentioning the organisational part
*Any personal information collected, including through trace, can be a liability. Ensure you have a log retention policy, don't use trace, or don't collect anything personal information *
Being a hacker's not just about code. It's about working a system.