Files
Lina JodoinandGitHub 55ef6985d8 Move a few occurrences of variables logged inline into tags (#7767)
## What changed?
Updated (most) log statements that log variables inline to use
structured logging. There were occurrences that I left untouched, as I
felt that the inline logging added siginficant clarity over a tag.

Prompt history (`claude-3.7-sonnet`):

> Although our logger supports structured logging via its tags, many of
our error messages instead emit variable data directly into the text
content of the logged message.
> Can you find occurrences of messages being logged with variable data
directly in the textual portion, and instead move those variables into
tags on the message, to facilitate structured logging?
>
> Please limit changes you make to precisely this ask; if no tags are
changed on a log statement, don't rewrite the message.
> 
> The scope should be the *entire* codebase.

...

> Great - are there any other places in the whole codebase you can see
where we're dynamically formatting error strings with variables in log
statements?

...

> Can you make those changes?

...

> Complete that codebase-wide refactoring initiative.

...

> Great. Are there any other places that are still logging with format
strings that include variables, anywhere in the codebase?

... 

Bonus robot chatter:

<img width="379" alt="Screenshot 2025-05-14 at 10 51 05 AM"
src="https://github.com/user-attachments/assets/8f1c8a73-3c9b-4d5e-bccd-b37ef8165d9c"
/>

## How did you test it?
- [ ] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2025-06-03 17:59:55 +00:00
..