Sebastian Poxhofer
c41b46bac3
feat(logging): do not use dynamic fields in log messages with severity WARN or higher ( #44560 )
...
* ci(linter): add renovate/logger-static-message rule
Adds a custom oxlint rule that enforces a static msg component for
logger.warn/error/fatal calls (including logger.once variants) so the
messages can be grouped in metrics and error catching services, per
docs/development/best-practices.md. It also flags metadata properties
named 'error' that hold error-ish values, because the bunyan serializer
only handles the 'err' key.
The rule is enabled as an error for lib/ production code and disabled
for spec files. All 33 pre-existing violations are fixed by moving
interpolated values into the metadata object, making messages static,
and renaming 'error' metadata keys to 'err'. Affected log-message
assertions in co-located specs are updated accordingly.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
* ci: ignore validator output
* fixup new merged in log messages
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-07-16 06:53:37 +00:00
..
2026-07-14 13:00:02 +00:00
2026-03-31 12:08:39 +00:00
2026-05-15 07:03:15 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 13:00:02 +00:00
2026-07-14 12:33:42 +00:00
2026-05-30 16:01:58 +00:00
2026-03-10 09:57:31 +00:00
2026-07-14 12:57:23 +00:00
2026-07-16 06:53:37 +00:00
2026-05-15 15:40:22 +00:00
2026-01-26 22:48:17 +00:00
2026-04-14 14:26:46 +00:00
2026-05-30 16:01:58 +00:00
2026-05-19 13:31:27 +00:00
2026-07-14 12:11:21 +00:00
2026-05-15 15:40:22 +00:00
2026-01-26 22:48:17 +00:00
2026-07-14 12:28:52 +00:00
2026-05-13 16:23:10 +00:00
2026-07-14 12:11:21 +00:00
2026-05-27 09:39:52 +00:00
2026-05-30 16:01:58 +00:00
2026-05-30 16:01:58 +00:00
2026-05-15 15:40:22 +00:00
2026-07-07 17:47:04 +00:00
2026-05-26 20:03:23 +00:00
2026-07-14 11:26:20 +00:00
2026-07-14 12:28:52 +00:00
2026-05-30 16:01:58 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 13:00:02 +00:00
2026-07-16 06:53:37 +00:00
2026-05-29 06:55:58 +00:00
2026-05-30 16:01:58 +00:00
2026-05-30 16:01:58 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 12:57:23 +00:00
2026-05-19 13:31:27 +00:00
2026-06-02 13:29:48 +00:00
2026-07-14 12:11:21 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 13:00:02 +00:00
2026-07-14 12:57:23 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 13:00:02 +00:00
2026-05-30 16:01:58 +00:00
2026-05-30 16:01:58 +00:00
2026-07-10 10:06:16 +00:00
2026-07-16 06:53:37 +00:00
2026-05-15 15:40:22 +00:00
2026-07-14 13:00:02 +00:00
2026-05-13 16:23:10 +00:00
2026-07-14 12:33:42 +00:00
2026-07-14 12:11:21 +00:00
2026-02-06 13:40:01 +00:00
2026-06-13 11:44:47 +00:00
2026-05-15 15:40:22 +00:00
2026-06-02 13:29:48 +00:00
2026-04-22 15:38:46 +00:00
2026-02-06 13:40:01 +00:00
2026-02-06 13:40:01 +00:00
2026-05-15 15:40:22 +00:00
2026-02-06 15:34:33 +00:00
2026-05-30 16:01:58 +00:00
2026-05-26 07:53:07 +00:00
2026-03-31 12:08:39 +00:00
2026-07-14 12:33:42 +00:00
2026-05-15 15:40:22 +00:00
2026-02-06 13:40:01 +00:00
2026-07-08 12:25:54 +00:00
2026-07-16 06:53:37 +00:00
2026-07-14 10:52:27 +00:00
2026-05-30 16:01:58 +00:00
2026-01-26 22:48:17 +00:00
2026-07-14 13:00:02 +00:00
2026-07-02 05:13:47 +00:00
2026-01-26 22:48:17 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 12:33:42 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 13:00:02 +00:00
2026-07-14 12:57:23 +00:00
2026-07-14 13:00:02 +00:00
2026-07-14 12:33:42 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 12:11:21 +00:00
2026-05-19 13:31:27 +00:00
2026-05-30 16:01:58 +00:00
2026-07-14 12:11:21 +00:00
2026-07-14 12:11:21 +00:00
2026-01-26 22:48:17 +00:00
2026-05-30 16:01:58 +00:00
2026-05-30 16:01:58 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00
2026-07-07 17:47:04 +00:00
2026-07-14 12:11:21 +00:00
2026-01-26 22:48:17 +00:00
2026-03-31 12:08:39 +00:00
2026-06-16 05:48:01 +00:00
2026-07-14 10:15:55 +00:00
2026-05-05 13:52:03 +00:00
2026-07-14 12:57:23 +00:00
2026-01-26 22:48:17 +00:00
2026-05-19 13:31:27 +00:00
2026-01-26 22:48:17 +00:00
2026-03-31 12:08:39 +00:00
2026-02-06 13:40:01 +00:00
2026-05-27 09:39:52 +00:00
2026-05-08 07:01:27 +00:00
2026-02-06 13:40:01 +00:00
2026-06-02 12:07:35 +00:00
2026-02-06 13:40:01 +00:00
2026-05-30 16:01:58 +00:00
2026-05-20 15:22:59 +00:00
2026-01-26 22:48:17 +00:00
2026-03-31 12:08:39 +00:00
2026-03-31 12:08:39 +00:00
2026-01-29 14:21:41 +00:00
2026-01-26 22:48:17 +00:00
2026-05-07 13:14:48 +00:00
2026-01-26 22:48:17 +00:00
2026-01-26 22:48:17 +00:00