top | item 46338520

(no title)

arwhatever | 2 months ago

I like to think of “warning” as something to alert on statistically, e.g. incorrect password attempt rate jumps from 0.4% of login attempts to 99%.

discuss

order

mzi|2 months ago

This sounds more like metrics than a log statement.

For me logs should complement metrics, and can in many instances be replaced by tracing if the spans are annotated sufficiently. But making metrics out of logs is both costly and a bit brittle.

lanstin|2 months ago

This point is important - the value of a log is inextricably tied to its unlikelihood. Which depends on so many things in the context.

bluGill|2 months ago

The value of all logs is tied only to if there is a problem will it help you find and debug it. If you never do statistics that password log is useless. If you never encounter a problem where the log helps debug it was useless.

God doesn't tell you the future so good luck figuring out which logs you really need.