| > Developers, in general, are really bad at logging, and so most logs are full of useless noise. Well, most logging systems do have different log priority levels. https://manpages.debian.org/bookworm/manpages-dev/syslog.3.e... LOG_CRIT and LOG_ALERT are two separate levels of "this is a real problem that needs to be addressed immediately", over just the LOG_ERR "I wasn't expecting that" or LOG_WARNING "Huh, that looks sus". Most log viewers can filter by severity, but also, the logging systems can be set to only actually output logs of a certain severity. e.g. with setlogmask(3) https://manpages.debian.org/bookworm/manpages-dev/setlogmask... If you can get devs to log with the right severities, ideally based on some kind of "what action needs to be taken in response to this log message" metric, logs can be a lot more useful. (Most log messages should probably be tagged as LOG_WARNING or LOG_NOTICE, and should probably not even be emitted by default in prod.) > someday I want to rename that call to log.PageEntireDevTeamAt3AM() Yup, that's what LOG_CRIT and above is for :-) |