From Dev.to
Logging AI tool usage without logging sensitive data
When a team adds an AI feature, the first debugging instinct is to log everything: the full prompt, the full response, the user's message. It works. It also means your logs now hold a copy of every cu...
