News for hackers. Stuff that matters.
Re:Flake8-Logging by baq on Tuesday September 12, 2023 @01:21AM (#37477160)
They learned after a few blocking reviews and an example of why it’s better to aggregate in splunk
Re:Flake8-Logging by nevon on Tuesday September 12, 2023 @02:12AM (#37477414)
I've been tooting this horn for months now and it still comes up in just about every PR review, despite trying to explain how log messages being static strings allow you to easily aggregate them so you can do further filtering based on separate fields containing runtime calculated values. It seems the allure of just shoving everything into a single message string is too strong.