News for hackers. Stuff that matters.
Re:My Logging Best Practices (2020) by raldi on Wednesday October 06, 2021 @01:04AM (#28769404)
How does making these DEBUG logs into INFO logs make the volume manageable?

Or, to flip that around, if you take a program that produces a manageable amount of INFO logs, and change some of those INFOs to DEBUGs, how does that suddenly become unmanageable?

Re:My Logging Best Practices (2020) by sagichmal on Friday October 08, 2021 @04:01PM (#28803531)
My point is that DEBUG level logging is (hopefully!) not on by default, and that this is what it makes the production log volume manageable.

My experience has been that 1 customer-facing byte tends to generate something like ~10 DEBUG-level telemetry bytes. This level of request amplification can't be feasibly sustained at nontrivial request volumes, your logging infrastructure would dwarf your production infrastructure.