Structured logging?
Structured logging?
Posted Jun 27, 2024 7:21 UTC (Thu) by taladar (subscriber, #68407)Parent article: Finishing the conversion to the "new" mount API
> "How beautiful would it be", he asked, if all of the error messages from VFS had a "vfs:" prefix—likewise for "bcachefs:" and the other filesystems.
When designing a new logging API that is supposed to be consumed partially by programs and not just users in 2024 structured logging really should have been on the table, particularly for relatively low volumes of logs like this (where it does not matter if each log message takes a few microseconds longer if that makes the result much more useful).